public enum GeoServerPushPolicy extends java.lang.Enum<GeoServerPushPolicy>
GeoServerPushPolicy
enum is used to indicate whether objects added to the cache will
be subject to GeoServer "push" replication.Enum Constant and Description |
---|
AllowReplication
The object will be replicated to a remote GeoServer store.
|
Disabled
GeoServer replication will not be performed.
|
Modifier and Type | Method and Description |
---|---|
static GeoServerPushPolicy |
fromString(java.lang.String value)
Retrieve a GeoServerPushPolicy enum from a string.
|
byte |
get()
Retrieve the enums byte value
|
static GeoServerPushPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoServerPushPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoServerPushPolicy Disabled
public static final GeoServerPushPolicy AllowReplication
public static GeoServerPushPolicy[] values()
for (GeoServerPushPolicy c : GeoServerPushPolicy.values()) System.out.println(c);
public static GeoServerPushPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte get()
public static GeoServerPushPolicy fromString(java.lang.String value)
Constants.GEOSERVER_PUSH_POLICY_ALLOW
Constants.GEOSERVER_PUSH_POLICY_DISABLED
value
- Constants.GEOSERVER_PUSH_POLICY_ALLOW
, or Constants.GEOSERVER_PUSH_POLICY_DISABLED