public enum WritabilityPolicy extends Enum<WritabilityPolicy>
Enum Constant and Description |
---|
CREATE_ONLY
The attribute may be provided when creating a new resource, but cannot be
modified afterwards.
|
CREATE_ONLY_DISCARD_WRITES
The attribute may be provided when creating a new resource, but cannot be
modified afterwards.
|
READ_ONLY
The attribute cannot be provided when creating a new resource, nor
modified afterwards.
|
READ_ONLY_DISCARD_WRITES
The attribute cannot be provided when creating a new resource, nor
modified afterwards.
|
READ_WRITE
The attribute may be provided when creating a new resource, and modified
afterwards.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static WritabilityPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WritabilityPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WritabilityPolicy READ_ONLY
public static final WritabilityPolicy READ_ONLY_DISCARD_WRITES
public static final WritabilityPolicy CREATE_ONLY
public static final WritabilityPolicy CREATE_ONLY_DISCARD_WRITES
public static final WritabilityPolicy READ_WRITE
public static WritabilityPolicy[] values()
for (WritabilityPolicy c : WritabilityPolicy.values()) System.out.println(c);
public static WritabilityPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<WritabilityPolicy>
Copyright 2010-2018 ForgeRock AS.