Package com.redwood.agent.api.rtx
Enum RTXReader.StrictMode
- java.lang.Object
- 
- java.lang.Enum<RTXReader.StrictMode>
- 
- com.redwood.agent.api.rtx.RTXReader.StrictMode
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<RTXReader.StrictMode>
 - Enclosing class:
- RTXReader
 
 public static enum RTXReader.StrictMode extends Enum<RTXReader.StrictMode> Control over how strictly the specification is interpreted.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description LogContinueDeprecated.LogRuntimeExceptionWhen the RTX is invalid, then do log the error and throw a RuntimeExceptionLogTerminateDeprecated.RuntimeExceptionWhen the RTX is invalid, then do throw a RuntimeException
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoLog()booleandoThrow()booleanreturnValue()static RTXReader.StrictModevalueOf(String name)Returns the enum constant of this type with the specified name.static RTXReader.StrictMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
RuntimeExceptionpublic static final RTXReader.StrictMode RuntimeException When the RTX is invalid, then do throw a RuntimeException
 - 
LogRuntimeExceptionpublic static final RTXReader.StrictMode LogRuntimeException When the RTX is invalid, then do log the error and throw a RuntimeException
 - 
LogContinue@Deprecated public static final RTXReader.StrictMode LogContinue Deprecated.When an exception occurs while reading RTX do log the error, but continue trying to read the RTX. This is not intended for production use and is only for testing purposes.
 - 
LogTerminate@Deprecated public static final RTXReader.StrictMode LogTerminate Deprecated.When an exception occurs while reading RTX do log the error and stop reading. This might throw an exception. This is not intended for production use and is only for testing purposes.
 
- 
 - 
Method Detail- 
valuespublic static RTXReader.StrictMode[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RTXReader.StrictMode c : RTXReader.StrictMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static RTXReader.StrictMode 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
 
 - 
doLogpublic boolean doLog() 
 - 
doThrowpublic boolean doThrow() 
 - 
returnValuepublic boolean returnValue() 
 
- 
 
-