Package ag.smaser.trip.filefilter
Enum FilterReturnCode
- All Implemented Interfaces:
Serializable
,Comparable<FilterReturnCode>
,java.lang.constant.Constable
Valid File Filter adapter return codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailure during conversion.Unable to find or open a resource required to perform the requested conversion.Failure during conversion (e.g. to HTML) when applying highlighting.Initialization has not yet taken place, or an error occurred during initialization.A method was passed an invalid argument.The output type is not known.The requested functionality is not yet supported.Operation succeeded.Other error. -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
The return code as an integer value.static FilterReturnCode
Returns the enum constant of this type with the specified name.static FilterReturnCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Success
Operation succeeded. -
InvalidArgument
A method was passed an invalid argument. -
InitializationError
Initialization has not yet taken place, or an error occurred during initialization. -
NotSupported
The requested functionality is not yet supported. -
InvalidOutputType
The output type is not known. -
CouldNotOpen
Unable to find or open a resource required to perform the requested conversion. -
ConversionError
Failure during conversion. -
HighlightError
Failure during conversion (e.g. to HTML) when applying highlighting. -
Unknown
Other error.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getCode
public int getCode()The return code as an integer value.
-