Enum ConvertAbility

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

public enum ConvertAbility extends Enum<ConvertAbility>
Indicates the adapter's ability to convert a particular input file to a particular target format.
  • Enum Constant Details

    • No

      public static final ConvertAbility No
      Adapter cannot convert specified file to requested target format.
    • Yes

      public static final ConvertAbility Yes
      Adapter can specified file to requested target format.
    • Maybe

      public static final ConvertAbility Maybe
      Adapter can possibly convert specified file to requested target format.
  • Method Details

    • values

      public static ConvertAbility[] 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 ConvertAbility 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
    • getAbility

      public int getAbility()
      The ability code as an integer value.