Package io.openliberty.tools.ant
Enum FeatureManagerTask.ReturnCode
- java.lang.Object
-
- java.lang.Enum<FeatureManagerTask.ReturnCode>
-
- io.openliberty.tools.ant.FeatureManagerTask.ReturnCode
-
- All Implemented Interfaces:
Serializable,Comparable<FeatureManagerTask.ReturnCode>
- Enclosing class:
- FeatureManagerTask
public static enum FeatureManagerTask.ReturnCode extends Enum<FeatureManagerTask.ReturnCode>
featureManager's exit codes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_EXISTSBAD_ARGUMENTBAD_FEATURE_DEFINITIONIO_FAILUREMISSING_CONTENTNOT_VALID_FOR_CURRENT_PRODUCTOKPRODUCT_EXT_NO_FEATURES_FOUNDPRODUCT_EXT_NOT_DEFINEDPRODUCT_EXT_NOT_FOUNDRUNTIME_EXCEPTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static FeatureManagerTask.ReturnCodevalueOf(String name)Returns the enum constant of this type with the specified name.static FeatureManagerTask.ReturnCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final FeatureManagerTask.ReturnCode OK
-
BAD_ARGUMENT
public static final FeatureManagerTask.ReturnCode BAD_ARGUMENT
-
RUNTIME_EXCEPTION
public static final FeatureManagerTask.ReturnCode RUNTIME_EXCEPTION
-
ALREADY_EXISTS
public static final FeatureManagerTask.ReturnCode ALREADY_EXISTS
-
BAD_FEATURE_DEFINITION
public static final FeatureManagerTask.ReturnCode BAD_FEATURE_DEFINITION
-
MISSING_CONTENT
public static final FeatureManagerTask.ReturnCode MISSING_CONTENT
-
IO_FAILURE
public static final FeatureManagerTask.ReturnCode IO_FAILURE
-
PRODUCT_EXT_NOT_FOUND
public static final FeatureManagerTask.ReturnCode PRODUCT_EXT_NOT_FOUND
-
PRODUCT_EXT_NOT_DEFINED
public static final FeatureManagerTask.ReturnCode PRODUCT_EXT_NOT_DEFINED
-
PRODUCT_EXT_NO_FEATURES_FOUND
public static final FeatureManagerTask.ReturnCode PRODUCT_EXT_NO_FEATURES_FOUND
-
NOT_VALID_FOR_CURRENT_PRODUCT
public static final FeatureManagerTask.ReturnCode NOT_VALID_FOR_CURRENT_PRODUCT
-
-
Method Detail
-
values
public static FeatureManagerTask.ReturnCode[] 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 (FeatureManagerTask.ReturnCode c : FeatureManagerTask.ReturnCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureManagerTask.ReturnCode 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
-