Enum ForkedProcessEventType

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

public enum ForkedProcessEventType extends Enum<ForkedProcessEventType>
Events sent back to the plugin process.
Since:
3.0.0-M4
Author:
Tibor Digana (tibor17)
  • Enum Constant Details

    • BOOTERCODE_SYSPROPS

      public static final ForkedProcessEventType BOOTERCODE_SYSPROPS
      This is the opcode "sys-prop". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:sys-prop:RunMode:0x0000000100000000:5:UTF-8:0xFFFFFFFF:key:0xFFFFFFFF:value:
       
      The constructor with one argument:
      • the opcode is "sys-prop"
    • BOOTERCODE_TESTSET_STARTING

      public static final ForkedProcessEventType BOOTERCODE_TESTSET_STARTING
      This is the opcode "testset-starting". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:testset-starting:RunMode:0x0000000100000000:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "testset-starting"
    • BOOTERCODE_TESTSET_COMPLETED

      public static final ForkedProcessEventType BOOTERCODE_TESTSET_COMPLETED
      This is the opcode "testset-completed". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:testset-completed:RunMode:0x0000000100000000:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "testset-completed"
    • BOOTERCODE_TEST_STARTING

      public static final ForkedProcessEventType BOOTERCODE_TEST_STARTING
      This is the opcode "test-starting". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-starting:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-starting"
    • BOOTERCODE_TEST_SUCCEEDED

      public static final ForkedProcessEventType BOOTERCODE_TEST_SUCCEEDED
      This is the opcode "test-succeeded". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-succeeded:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-succeeded"
    • BOOTERCODE_TEST_FAILED

      public static final ForkedProcessEventType BOOTERCODE_TEST_FAILED
      This is the opcode "test-failed". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-failed:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-failed"
    • BOOTERCODE_TEST_SKIPPED

      public static final ForkedProcessEventType BOOTERCODE_TEST_SKIPPED
      This is the opcode "test-skipped". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-skipped:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-skipped"
    • BOOTERCODE_TEST_ERROR

      public static final ForkedProcessEventType BOOTERCODE_TEST_ERROR
      This is the opcode "test-error". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-error:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-error"
    • BOOTERCODE_TEST_ASSUMPTIONFAILURE

      public static final ForkedProcessEventType BOOTERCODE_TEST_ASSUMPTIONFAILURE
      This is the opcode "test-assumption-failure". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:test-assumption-failure:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:SourceName:0xFFFFFFFF:SourceText:0xFFFFFFFF:Name:0xFFFFFFFF:NameText:0xFFFFFFFF:Group:0xFFFFFFFF:Message:ElapsedTime (binary int):0xFFFFFFFF:LocalizedMessage:0xFFFFFFFF:SmartTrimmedStackTrace:0xFFFFFFFF:toStackTrace( stw, trimStackTraces ):
       
      The constructor with one argument:
      • the opcode is "test-assumption-failure"
    • BOOTERCODE_STDOUT

      public static final ForkedProcessEventType BOOTERCODE_STDOUT
      This is the opcode "std-out-stream". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:std-out-stream:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "std-out-stream"
    • BOOTERCODE_STDOUT_NEW_LINE

      public static final ForkedProcessEventType BOOTERCODE_STDOUT_NEW_LINE
      This is the opcode "std-out-stream-new-line". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:std-out-stream-new-line:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "std-out-stream-new-line"
    • BOOTERCODE_STDERR

      public static final ForkedProcessEventType BOOTERCODE_STDERR
      This is the opcode "std-err-stream". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:std-err-stream:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "std-err-stream"
    • BOOTERCODE_STDERR_NEW_LINE

      public static final ForkedProcessEventType BOOTERCODE_STDERR_NEW_LINE
      This is the opcode "std-err-stream-new-line". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:std-err-stream-new-line:RunMode:0x0000000100000001:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "std-err-stream-new-line"
    • BOOTERCODE_CONSOLE_INFO

      public static final ForkedProcessEventType BOOTERCODE_CONSOLE_INFO
      This is the opcode "console-info-log". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:console-info-log:RunMode:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "console-info-log"
    • BOOTERCODE_CONSOLE_DEBUG

      public static final ForkedProcessEventType BOOTERCODE_CONSOLE_DEBUG
      This is the opcode "console-debug-log". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:console-debug-log:RunMode:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "console-debug-log"
    • BOOTERCODE_CONSOLE_WARNING

      public static final ForkedProcessEventType BOOTERCODE_CONSOLE_WARNING
      This is the opcode "console-warning-log". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:console-warning-log:RunMode:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "console-warning-log"
    • BOOTERCODE_CONSOLE_ERROR

      public static final ForkedProcessEventType BOOTERCODE_CONSOLE_ERROR
      This is the opcode "console-error-log". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:console-error-log:RunMode:5:UTF-8:0xFFFFFFFF:line:
       
      The constructor with one argument:
      • the opcode is "console-error-log"
    • BOOTERCODE_BYE

      public static final ForkedProcessEventType BOOTERCODE_BYE
      This is the opcode "bye". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:bye:
       
      The constructor with one argument:
      • the opcode is "bye"
    • BOOTERCODE_STOP_ON_NEXT_TEST

      public static final ForkedProcessEventType BOOTERCODE_STOP_ON_NEXT_TEST
      This is the opcode "stop-on-next-test". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:stop-on-next-test:
       
      The constructor with one argument:
      • the opcode is "stop-on-next-test"
    • BOOTERCODE_NEXT_TEST

      public static final ForkedProcessEventType BOOTERCODE_NEXT_TEST
      This is the opcode "next-test". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:next-test:
       
      The constructor with one argument:
      • the opcode is "next-test"
    • BOOTERCODE_JVM_EXIT_ERROR

      public static final ForkedProcessEventType BOOTERCODE_JVM_EXIT_ERROR
      This is the opcode "jvm-exit-error". The frame is composed of segments and the separator characters ':'
       :maven-surefire-event:jvm-exit-error:
       
      The constructor with one argument:
      • the opcode is "jvm-exit-error"
  • Method Details

    • values

      public static ForkedProcessEventType[] 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 ForkedProcessEventType 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
    • getOpcode

      public String getOpcode()
    • getOpcodeBinary

      public byte[] getOpcodeBinary()
    • isSysPropCategory

      public boolean isSysPropCategory()
    • isTestCategory

      public boolean isTestCategory()
    • isStandardStreamCategory

      public boolean isStandardStreamCategory()
    • isConsoleCategory

      public boolean isConsoleCategory()
    • isConsoleErrorCategory

      public boolean isConsoleErrorCategory()
    • isControlCategory

      public boolean isControlCategory()
    • isJvmExitError

      public boolean isJvmExitError()