Package net.sf.basedb.opengrid.json
Class JSONOption
java.lang.Object
net.sf.basedb.opengrid.json.JSONOption
Define individual options that can be enabled when
returning data in JSON format.
- Since:
- 1.0
- Author:
- nicklas
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JSONOption
Include the Open Grid cluster information fromOpenGridCluster.getClusterInfo()
when callingOpenGridCluster.asJSONObject(JSONOptions)
.static final JSONOption
Returns the connection password when callingConnectionInfo.asJSONObject(JSONOptions)
.static final JSONOption
Include the custom configuration options when callingClusterConfig.asJSONObject(JSONOptions)
.static final JSONOption
Inlcude job agent information from the BASE database when callingClusterConfig.asJSONObject(JSONOptions)
.private final String
static final JSONOption
Inlcude the node information when callingClusterConfig.asJSONObject(JSONOptions)
.static final JSONOption
Returns the private key information (including password) when callingConnectionInfo.asJSONObject(JSONOptions)
. -
Constructor Summary
-
Method Summary
-
Field Details
-
CONNECTION_PASSWORD
Returns the connection password when callingConnectionInfo.asJSONObject(JSONOptions)
. -
PRIVATE_KEY
Returns the private key information (including password) when callingConnectionInfo.asJSONObject(JSONOptions)
.- Since:
- 1.2
-
CLUSTER_INFO
Include the Open Grid cluster information fromOpenGridCluster.getClusterInfo()
when callingOpenGridCluster.asJSONObject(JSONOptions)
. -
CUSTOM_OPTIONS
Include the custom configuration options when callingClusterConfig.asJSONObject(JSONOptions)
.- Since:
- 1.7
-
NODE_INFO
Inlcude the node information when callingClusterConfig.asJSONObject(JSONOptions)
. -
JOBAGENT_INFO
Inlcude job agent information from the BASE database when callingClusterConfig.asJSONObject(JSONOptions)
. This option is ignored unless aDbControl
has been set on theJSONOptions
instance. -
name
-
-
Constructor Details
-
JSONOption
-
-
Method Details