Enum Class ShadowType
- All Implemented Interfaces:
Serializable,Comparable<ShadowType>,Constable
Enum representing the types of resources in an addon context.
This enum defines the available categories of resources:
DEPENDENCY- Indicates that the shadow is a dependency required by the addon.REPOSITORY- Indicates that the shadow is a repository reference needed for resolving dependencies.
- Since:
- 3.3.4-SNAPSHOT
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a dependency required by an addon.Represents a repository reference for resolving dependencies. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShadowTypeReturns the enum constant of this class with the specified name.static ShadowType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEPENDENCY
Represents a dependency required by an addon. -
REPOSITORY
Represents a repository reference for resolving dependencies.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-