Enum TargetState

    • Enum Constant Detail

      • INITIAL

        public static final TargetState INITIAL
        Target state: initial.
      • TRANSLATED

        public static final TargetState TRANSLATED
        Target state: translated.
      • REVIEWED

        public static final TargetState REVIEWED
        Target state: reviewed.
      • FINAL

        public static final TargetState FINAL
        Target state: final.
    • Method Detail

      • values

        public static TargetState[] 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 (TargetState c : TargetState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TargetState 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
      • fromString

        public static TargetState fromString​(String name)
        Converts a given string representing the name of a target state into a TargetState object.
        Parameters:
        name - the name of the target state.
        Returns:
        the object for the given name.
        Throws:
        InvalidParameterException - if the name is invalid.