Enum Class ComponentDescriptor.Type
java.lang.Object
java.lang.Enum<ComponentDescriptor.Type>
de.espirit.firstspirit.module.descriptor.ComponentDescriptor.Type
- All Implemented Interfaces:
Serializable,Comparable<ComponentDescriptor.Type>,Constable
- Enclosing interface:
- ComponentDescriptor
Component type.
- Since:
- 4.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTemporary type for (future) generic component definitions.Deprecated.Type oflibrarycomponentsDeprecated.since 5.2.16 - replaced by generic linksType ofproject appsType ofpubliccomponents.Type ofservicecomponentsType ofwebappcomponentsType ofwebservercomponents -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentDescriptor.TypeReturns the enum constant of this class with the specified name.static ComponentDescriptor.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
Type ofpubliccomponents.- Since:
- 4.1
-
EDITOR
Deprecated.since 5.2.16 - usePUBLICwithGadgetSpecificationinstead -
LIBRARY
Type oflibrarycomponents- Since:
- 4.1
-
SERVICE
Type ofservicecomponents- Since:
- 4.1
-
WEBAPP
Type ofwebappcomponents- Since:
- 4.1
-
WEBSERVER
Type ofwebservercomponents- Since:
- 4.1
-
PROJECTAPP
Type ofproject apps- Since:
- 4.1
-
LINKEDITOR
Deprecated.since 5.2.16 - replaced by generic links -
COMPONENT
Temporary type for (future) generic component definitions.- Since:
- 4.2.200
-
-
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
-
PUBLICwithGadgetSpecificationinstead