Package fr.gouv.vitam.common.model
Enum VitamConstants.StorageRuleFinalAction
- java.lang.Object
-
- java.lang.Enum<VitamConstants.StorageRuleFinalAction>
-
- fr.gouv.vitam.common.model.VitamConstants.StorageRuleFinalAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VitamConstants.StorageRuleFinalAction>
- Enclosing class:
- VitamConstants
public static enum VitamConstants.StorageRuleFinalAction extends java.lang.Enum<VitamConstants.StorageRuleFinalAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COPY
RESTRICT_ACCESS
TRANSFER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VitamConstants.StorageRuleFinalAction
fromValue(java.lang.String v)
java.lang.String
value()
static VitamConstants.StorageRuleFinalAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VitamConstants.StorageRuleFinalAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESTRICT_ACCESS
public static final VitamConstants.StorageRuleFinalAction RESTRICT_ACCESS
-
TRANSFER
public static final VitamConstants.StorageRuleFinalAction TRANSFER
-
COPY
public static final VitamConstants.StorageRuleFinalAction COPY
-
-
Method Detail
-
values
public static VitamConstants.StorageRuleFinalAction[] 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 (VitamConstants.StorageRuleFinalAction c : VitamConstants.StorageRuleFinalAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VitamConstants.StorageRuleFinalAction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value()
-
fromValue
public static VitamConstants.StorageRuleFinalAction fromValue(java.lang.String v) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-