Enum Span.Options

java.lang.Object
java.lang.Enum<Span.Options>
io.opencensus.trace.Span.Options
All Implemented Interfaces:
Serializable, Comparable<Span.Options>
Enclosing class:
Span

public static enum Span.Options extends Enum<Span.Options>
Span options. These options are NOT propagated to child spans. These options determine features such as whether a Span should record any annotations or events.
Since:
0.5
  • Enum Constant Details

  • Constructor Details

    • Options

      private Options()
  • Method Details

    • values

      public static Span.Options[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Span.Options valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null