public final class PluginDataFieldBoolean extends PluginDataField<java.lang.Boolean>
PluginDataField of type BooleanPluginDataFieldPluginDataField.FieldTypeJSON_FIELD_VALUE| Constructor and Description |
|---|
PluginDataFieldBoolean(int id,
java.lang.String title,
java.lang.String description,
java.lang.Boolean value)
Instantiates a new plugin data field of type boolean.
|
PluginDataFieldBoolean(org.json.JSONObject fieldJson)
Do not use - for internal use only
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Boolean |
getFieldValue(org.json.JSONObject fieldJson,
java.lang.String jsonFieldValue)
Gets the field value.
|
createNewField, getDescription, getId, getTitle, getType, getValue, serialize, setValue, setValueGenericpublic PluginDataFieldBoolean(int id,
java.lang.String title,
java.lang.String description,
java.lang.Boolean value)
id - The field id. To be used with PluginDataFieldCollection.getFieldById(int) to retrieve the field from a data fields collectiontitle - The field title to show within AutomateIt when editing the related PluginAction or PluginTriggerdescription - The field description to show within AutomateIt when editing the related PluginAction or PluginTriggervalue - An initial value for the fieldpublic PluginDataFieldBoolean(org.json.JSONObject fieldJson)
protected java.lang.Boolean getFieldValue(org.json.JSONObject fieldJson,
java.lang.String jsonFieldValue)
PluginDataFieldgetFieldValue in class PluginDataField<java.lang.Boolean>fieldJson - the field jsonjsonFieldValue - the json field value