Package net.shibboleth.profile.module
Enum Class ModuleContext.OperationType
java.lang.Object
java.lang.Enum<ModuleContext.OperationType>
net.shibboleth.profile.module.ModuleContext.OperationType
- All Implemented Interfaces:
Serializable,Comparable<ModuleContext.OperationType>,Constable
- Enclosing class:
- ModuleContext
What is the caller doing?
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCalled from the Module command (or in a test.Called on initial IdP or Plugin Install.Called during plugin uninstall.We haven not been told.Called on an IdP or Plugin Upgrade if the module was enabled previously. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleContext.OperationTypeReturns the enum constant of this class with the specified name.static ModuleContext.OperationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Install
Called on initial IdP or Plugin Install. Also called if an upgrade asks for a Module which was not installed. -
Upgrade
Called on an IdP or Plugin Upgrade if the module was enabled previously. (a re-enable) -
Uninstall
Called during plugin uninstall. -
CommandLine
Called from the Module command (or in a test. -
Unknown
We haven not been told.
-
-
Constructor Details
-
OperationType
private OperationType()
-
-
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
-