Enum FilterReturnCode

java.lang.Object
java.lang.Enum<FilterReturnCode>
ag.smaser.trip.filefilter.FilterReturnCode
All Implemented Interfaces:
Serializable, Comparable<FilterReturnCode>, java.lang.constant.Constable

public enum FilterReturnCode extends Enum<FilterReturnCode>
Valid File Filter adapter return codes.
  • Enum Constant Details

    • Success

      public static final FilterReturnCode Success
      Operation succeeded.
    • InvalidArgument

      public static final FilterReturnCode InvalidArgument
      A method was passed an invalid argument.
    • InitializationError

      public static final FilterReturnCode InitializationError
      Initialization has not yet taken place, or an error occurred during initialization.
    • NotSupported

      public static final FilterReturnCode NotSupported
      The requested functionality is not yet supported.
    • InvalidOutputType

      public static final FilterReturnCode InvalidOutputType
      The output type is not known.
    • CouldNotOpen

      public static final FilterReturnCode CouldNotOpen
      Unable to find or open a resource required to perform the requested conversion.
    • ConversionError

      public static final FilterReturnCode ConversionError
      Failure during conversion.
    • HighlightError

      public static final FilterReturnCode HighlightError
      Failure during conversion (e.g. to HTML) when applying highlighting.
    • Unknown

      public static final FilterReturnCode Unknown
      Other error.
  • Method Details

    • values

      public static FilterReturnCode[] 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 FilterReturnCode 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()
      The return code as an integer value.