public enum GeoServerPullPolicy extends java.lang.Enum<GeoServerPullPolicy>
GeoServerPullPolicy enum is used to indicate whether objects added to the cache will be accessible to remote
stores via GeoServer "pull" replication.| Enum Constant and Description |
|---|
AllowRemoteAccess
Remote access will be allowed.
|
Disabled
Remote access will be disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static GeoServerPullPolicy |
fromString(java.lang.String value)
Retrieve a GeoServerPullPolicy enum from a string.
|
byte |
get()
Retrieve the enums byte value
|
static GeoServerPullPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoServerPullPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoServerPullPolicy Disabled
public static final GeoServerPullPolicy AllowRemoteAccess
public static GeoServerPullPolicy[] values()
for (GeoServerPullPolicy c : GeoServerPullPolicy.values()) System.out.println(c);
public static GeoServerPullPolicy 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 GeoServerPullPolicy fromString(java.lang.String value)
Constants.GEOSERVER_PULL_POLICY_ALLOW
Constants.GEOSERVER_PULL_POLICY_DISABLEDvalue - Constants.GEOSERVER_PULL_POLICY_ALLOW, or Constants.GEOSERVER_PULL_POLICY_DISABLED