Package org.casbin.jcasbin.persist
Enum WatcherEx.UpdateType
- java.lang.Object
-
- java.lang.Enum<WatcherEx.UpdateType>
-
- org.casbin.jcasbin.persist.WatcherEx.UpdateType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WatcherEx.UpdateType>
- Enclosing interface:
- WatcherEx
public static enum WatcherEx.UpdateType extends java.lang.Enum<WatcherEx.UpdateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Update
UpdateForAddPolicies
UpdateForAddPolicy
UpdateForRemoveFilteredPolicy
UpdateForRemovePolicies
UpdateForRemovePolicy
UpdateForSavePolicy
UpdateForUpdatePolicies
UpdateForUpdatePolicy
-
Constructor Summary
Constructors Modifier Constructor Description private
UpdateType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WatcherEx.UpdateType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WatcherEx.UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Update
public static final WatcherEx.UpdateType Update
-
UpdateForAddPolicies
public static final WatcherEx.UpdateType UpdateForAddPolicies
-
UpdateForAddPolicy
public static final WatcherEx.UpdateType UpdateForAddPolicy
-
UpdateForRemoveFilteredPolicy
public static final WatcherEx.UpdateType UpdateForRemoveFilteredPolicy
-
UpdateForRemovePolicies
public static final WatcherEx.UpdateType UpdateForRemovePolicies
-
UpdateForRemovePolicy
public static final WatcherEx.UpdateType UpdateForRemovePolicy
-
UpdateForSavePolicy
public static final WatcherEx.UpdateType UpdateForSavePolicy
-
UpdateForUpdatePolicies
public static final WatcherEx.UpdateType UpdateForUpdatePolicies
-
UpdateForUpdatePolicy
public static final WatcherEx.UpdateType UpdateForUpdatePolicy
-
-
Method Detail
-
values
public static WatcherEx.UpdateType[] 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 (WatcherEx.UpdateType c : WatcherEx.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WatcherEx.UpdateType 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
-
-