Package com.isode.dsapi.aci
Enum Class SimpleACIWorld.ACSA.Type
- All Implemented Interfaces:
Serializable,Comparable<SimpleACIWorld.ACSA.Type>,Constable
- Enclosing class:
- SimpleACIWorld.ACSA
Type of ACSA.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGlobal ACSA: one that we can understand and handle, and that will be updated on the DIT when .save() is called.Local ACSA: one that we can't understand, or that we can't handle for some reason, or that has been specifically marked as for local control only, and which will not be updated on the DIT on .save().ACSA which currently exists on the DIT but which will be deleted on the next .save() call.Shadowed area which should not be touched, as it is not mastered on this DSA. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleACIWorld.ACSA.TypeReturns the enum constant of this class with the specified name.static SimpleACIWorld.ACSA.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL
Global ACSA: one that we can understand and handle, and that will be updated on the DIT when .save() is called. Note that even BAC areas or SAC areas with ACIAs or other warnings can be updated, so count as 'global'. -
LOCAL
Local ACSA: one that we can't understand, or that we can't handle for some reason, or that has been specifically marked as for local control only, and which will not be updated on the DIT on .save(). -
SHADOW
Shadowed area which should not be touched, as it is not mastered on this DSA. -
NONE
ACSA which currently exists on the DIT but which will be deleted on the next .save() call.
-
-
Field Details
-
isGLOBAL
public final boolean isGLOBAL -
isLOCAL
public final boolean isLOCAL -
isSHADOW
public final boolean isSHADOW -
isNONE
public final boolean isNONE
-
-
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
-