Package org.pf4j
Enum PluginState
- All Implemented Interfaces:
Serializable
,Comparable<PluginState>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe runtime knows the plugin is there.The plugin cannot be used.The plugin is created.ThePlugin.start()
has executed.ThePlugin.stop()
has executed. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static PluginState
toString()
static PluginState
Returns the enum constant of this type with the specified name.static PluginState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATED
The runtime knows the plugin is there. It knows about the plugin path, the plugin descriptor. -
DISABLED
The plugin cannot be used. -
RESOLVED
The plugin is created. All the dependencies are created and resolved. The plugin is ready to be started. -
STARTED
ThePlugin.start()
has executed. A started plugin may contribute extensions. -
STOPPED
ThePlugin.stop()
has executed.
-
-
Field Details
-
status
-
-
Constructor Details
-
PluginState
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
equals
-
toString
- Overrides:
toString
in classEnum<PluginState>
-
parse
-