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 oflibrary
componentsDeprecated.since 5.2.16 - replaced by generic linksType ofproject apps
Type ofpublic
components.Type ofservice
componentsType ofwebapp
componentsType ofwebserver
components -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentDescriptor.Type
Returns 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 ofpublic
components.- Since:
- 4.1
-
EDITOR
Deprecated.since 5.2.16 - usePUBLIC
withGadgetSpecification
instead -
LIBRARY
Type oflibrary
components- Since:
- 4.1
-
SERVICE
Type ofservice
components- Since:
- 4.1
-
WEBAPP
Type ofwebapp
components- Since:
- 4.1
-
WEBSERVER
Type ofwebserver
components- 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
-
PUBLIC
withGadgetSpecification
instead