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