Enum Destination

java.lang.Object
java.lang.Enum<Destination>
org.gradle.tooling.events.test.Destination
All Implemented Interfaces:
Serializable, Comparable<Destination>, Constable

public enum Destination extends Enum<Destination> implements Serializable
Enumerates possible output streams for TestOutputEvent.
Since:
6.0
  • Enum Constant Details

    • StdOut

      public static final Destination StdOut
      Since:
      6.0
    • StdErr

      public static final Destination StdErr
      Since:
      6.0
  • Method Details

    • values

      public static Destination[] 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 Destination 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
    • getCode

      public int getCode()
      Returns the code.
      Since:
      6.0
    • fromCode

      public static Destination fromCode(int code)
      From code.
      Since:
      6.0