Package net.shibboleth.idp.module
Enum IdPModule.ResourceResult
- java.lang.Object
-
- java.lang.Enum<IdPModule.ResourceResult>
-
- net.shibboleth.idp.module.IdPModule.ResourceResult
-
- All Implemented Interfaces:
Serializable
,Comparable<IdPModule.ResourceResult>
- Enclosing interface:
- IdPModule
public static enum IdPModule.ResourceResult extends Enum<IdPModule.ResourceResult>
Resource management outcome.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ResourceResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdPModule.ResourceResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static IdPModule.ResourceResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final IdPModule.ResourceResult CREATED
Resource was created.
-
REPLACED
public static final IdPModule.ResourceResult REPLACED
Resource was created and old resource saved.
-
ADDED
public static final IdPModule.ResourceResult ADDED
Resource was created alongside original.
-
REMOVED
public static final IdPModule.ResourceResult REMOVED
Resource was removed.
-
SAVED
public static final IdPModule.ResourceResult SAVED
Old resource was preserved.
-
MISSING
public static final IdPModule.ResourceResult MISSING
Resource was missing.
-
-
Method Detail
-
values
public static IdPModule.ResourceResult[] 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 (IdPModule.ResourceResult c : IdPModule.ResourceResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdPModule.ResourceResult 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
-
-