Package org.ametys.runtime.plugin
Enum Class PluginIssue.PluginIssueCode
- All Implemented Interfaces:
Serializable
,Comparable<PluginIssue.PluginIssueCode>
,java.lang.constant.Constable
- Enclosing class:
- PluginIssue
Issue code enumeration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA plugin referenced in a jar file has no corresponding plugin.xmlCircular dependency detected on a feature.A class referenced by an extension point, extension or component does not exist.A component with the same role is alredy declared.A component role is required to point to a specific component id which doesn't actually exist.A plugin.xml is not valid against the schema.An extension to the same point is alredy declared with the same id.An extension point is already declared in another plugin.An extension point's class does not implementExtensionPoint
.Unable to load an external configuration file.The application Init class does not implementInit
.A component did not initialize properly.An extension refers to a non-existing point.A plugin with this name is already declared.The plugin name does not match the regexp.There's no plugin.xml in the specified directory. -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginIssue.PluginIssueCode
Returns the enum constant of this class with the specified name.static PluginIssue.PluginIssueCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUNDLED_PLUGIN_NOT_PRESENT
A plugin referenced in a jar file has no corresponding plugin.xml -
PLUGIN_NAME_INVALID
The plugin name does not match the regexp. -
PLUGIN_NOFILE
There's no plugin.xml in the specified directory. -
PLUGIN_NAME_EXIST
A plugin with this name is already declared. -
CONFIGURATION_UNREADABLE
A plugin.xml is not valid against the schema. -
EXTENSIONPOINT_ALREADY_EXIST
An extension point is already declared in another plugin. -
EXTENSION_ALREADY_EXIST
An extension to the same point is alredy declared with the same id. -
COMPONENT_ALREADY_EXIST
A component with the same role is alredy declared. -
CLASSNOTFOUND
A class referenced by an extension point, extension or component does not exist. -
EXTENSIONPOINT_CLASS_INVALID
An extension point's class does not implementExtensionPoint
. -
COMPONENT_NOT_DECLARED
A component role is required to point to a specific component id which doesn't actually exist. -
CIRCULAR_DEPENDENCY
Circular dependency detected on a feature. -
EXTERNAL_CONFIGURATION
Unable to load an external configuration file. -
INIT_CLASS_INVALID
The application Init class does not implementInit
. -
INVALID_POINT
An extension refers to a non-existing point. -
INITIALIZATION_EXCEPTION
A component did not initialize properly.
-
-
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
-