Package de.xima.fc.project.mgmt.impex
Enum ProjectExportSpec.DependencyInclusionStrategy
- java.lang.Object
-
- java.lang.Enum<ProjectExportSpec.DependencyInclusionStrategy>
-
- de.xima.fc.project.mgmt.impex.ProjectExportSpec.DependencyInclusionStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<ProjectExportSpec.DependencyInclusionStrategy>
- Enclosing class:
- ProjectExportSpec
public static enum ProjectExportSpec.DependencyInclusionStrategy extends Enum<ProjectExportSpec.DependencyInclusionStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_DEPENDENCIESInclude all dependencies of the project, regardless of whether they are specified in the export specification.ONLY_SPECIFIEDInclude only the dependencies explicitly specified in the export specification.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectExportSpec.DependencyInclusionStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectExportSpec.DependencyInclusionStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLY_SPECIFIED
public static final ProjectExportSpec.DependencyInclusionStrategy ONLY_SPECIFIED
Include only the dependencies explicitly specified in the export specification.
-
ALL_DEPENDENCIES
public static final ProjectExportSpec.DependencyInclusionStrategy ALL_DEPENDENCIES
Include all dependencies of the project, regardless of whether they are specified in the export specification.
-
-
Method Detail
-
values
public static ProjectExportSpec.DependencyInclusionStrategy[] 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 (ProjectExportSpec.DependencyInclusionStrategy c : ProjectExportSpec.DependencyInclusionStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectExportSpec.DependencyInclusionStrategy 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
-
-