Package com.scaleout.client.caching
Enum Class GeoServerPushPolicy
- All Implemented Interfaces:
Serializable
,Comparable<GeoServerPushPolicy>
,Constable
The
GeoServerPushPolicy
enum is used to indicate whether objects added to the cache will
be subject to GeoServer "push" replication.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe object will be replicated to a remote GeoServer store.GeoServer replication will not be performed. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoServerPushPolicy
fromString
(String value) Retrieve a GeoServerPushPolicy enum from a string.static GeoServerPushPolicy
Returns the enum constant of this class with the specified name.static GeoServerPushPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Disabled
GeoServer replication will not be performed. -
AllowReplication
The object will be replicated to a remote GeoServer store.
-
-
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
-
fromString
Retrieve a GeoServerPushPolicy enum from a string. Accepted values:Constants.GEOSERVER_PUSH_POLICY_ALLOW
Constants.GEOSERVER_PUSH_POLICY_DISABLED
- Parameters:
value
-Constants.GEOSERVER_PUSH_POLICY_ALLOW
, orConstants.GEOSERVER_PUSH_POLICY_DISABLED
- Returns:
- a GeoServerPushPolicy that maps from the parameter string value.
-