Enum Class MasterProcessCommand

java.lang.Object
java.lang.Enum<MasterProcessCommand>
org.apache.maven.surefire.api.booter.MasterProcessCommand
All Implemented Interfaces:
Serializable, Comparable<MasterProcessCommand>, Constable

public enum MasterProcessCommand extends Enum<MasterProcessCommand>
Commands which are sent from plugin to the forked jvm.
Since:
2.19
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • MasterProcessCommand

      private MasterProcessCommand(String opcode, Class<?> dataType)
  • Method Details

    • values

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

      public static MasterProcessCommand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOpcodeBinary

      public byte[] getOpcodeBinary()
    • getOpcodeLength

      public int getOpcodeLength()
    • getDataType

      public Class<?> getDataType()
    • hasDataType

      public boolean hasDataType()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<MasterProcessCommand>
    • segmentsToCmds

      private static Map<AbstractStreamDecoder.Segment,MasterProcessCommand> segmentsToCmds()