public class JSONOption extends Object
Modifier and Type | Field and Description |
---|---|
static JSONOption |
CLUSTER_INFO
Include the Open Grid cluster information from
OpenGridCluster.getClusterInfo() when calling
OpenGridCluster.asJSONObject(JSONOptions) . |
static JSONOption |
CONNECTION_PASSWORD
Returns the connection password when calling
ConnectionInfo.asJSONObject(JSONOptions) . |
static JSONOption |
JOBAGENT_INFO
Inlcude job agent information from the BASE database
when calling
ClusterConfig.asJSONObject(JSONOptions) . |
private String |
name |
static JSONOption |
NODE_INFO
Inlcude the node information when calling
ClusterConfig.asJSONObject(JSONOptions) . |
Constructor and Description |
---|
JSONOption(String name) |
public static final JSONOption CONNECTION_PASSWORD
ConnectionInfo.asJSONObject(JSONOptions)
.public static final JSONOption CLUSTER_INFO
OpenGridCluster.getClusterInfo()
when calling
OpenGridCluster.asJSONObject(JSONOptions)
.public static final JSONOption NODE_INFO
ClusterConfig.asJSONObject(JSONOptions)
.public static final JSONOption JOBAGENT_INFO
ClusterConfig.asJSONObject(JSONOptions)
.
This option is ignored unless a DbControl
has been set on
the JSONOptions
instance.private final String name
public JSONOption(String name)