R - the RuntimeInfo that corresponds to this configuration. Each non-abstract subclass
needs to supply this when it extends this class.@Experimental public abstract class AbstractConfiguration<R extends RuntimeInfo> extends java.lang.Object implements org.apache.geode.lang.Identifiable<java.lang.String>, JsonSerializable
As a configuration of a managed entity it can be used to either create, update, or delete it, or to describe it in the result of list or get.
As a filter as input to list or get it can be used to specify what entities to return.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLUSTER
The reserved group name that represents the predefined "cluster" group.
|
| Constructor and Description |
|---|
AbstractConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CommandType |
getCreationCommandType() |
java.lang.String |
getGroup() |
static java.lang.String |
getGroupName(java.lang.String group) |
abstract java.lang.String |
getId()
Returns the attribute of the configuration that uniquely identifies it
|
abstract Links |
getLinks() |
static boolean |
isCluster(java.lang.String groupName)
Returns true if the given "groupName" represents the predefined "cluster" group.
|
boolean |
isGlobalRuntime()
Returns true if the RuntimeInfo will be the same on all members;
false if each member can have different RuntimeInfo.
|
public static final java.lang.String CLUSTER
public static boolean isCluster(java.lang.String groupName)
CLUSTER,
is null, or is an empty string.groupName - the group name to be checkedCLUSTER, is
null, or is an empty stringpublic static java.lang.String getGroupName(java.lang.String group)
public java.lang.String getGroup()
public abstract java.lang.String getId()
getId in interface org.apache.geode.lang.Identifiable<java.lang.String>public abstract Links getLinks()
public boolean isGlobalRuntime()
public CommandType getCreationCommandType()