java.lang.Object
org.eclipse.microprofile.context.tck.contexts.label.Label

public class Label extends Object
This is a fake context type that is created by the test suite, which associates an immutable label (a String) with a thread.
  • Field Details

  • Method Details

    • get

      public static String get()
      Get the current 'label' context.
      Returns:
      current label.
    • set

      public static void set(String label)
      Set the current 'label' context.
      Parameters:
      label - new label.