public class FactoryConfigurationDescription extends ConfigurableEntity
Constructor and Description |
---|
FactoryConfigurationDescription() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the object and set the defaults
|
protected javax.json.JsonObjectBuilder |
createJson()
Convert this object into JSON
|
void |
fromJSONObject(javax.json.JsonObject jsonObj)
Extract the metadata from the JSON object.
|
List<String> |
getInternalNames()
Get the internal factory configuration name
|
Set<Operation> |
getOperations()
Get the operations
|
protected void |
setDefaults()
Apply the non-null default values.
|
getInternalPropertyNames, getMode, getPropertyDescriptions, getRegion, isAllowAdditionalProperties, setAllowAdditionalProperties, setMode, setRegion
getDeprecated, getDescription, getEnforceOn, getSince, getTitle, setDeprecated, setDescription, setEnforceOn, setSince, setTitle
getAttributes, getBoolean, getInteger, getNumber, getString, getString, getStringArray, setString, setStringArray, toJSONObject
protected void setDefaults()
AttributeableEntity
setDefaults
in class ConfigurableEntity
public void clear()
clear
in class ConfigurableEntity
public void fromJSONObject(javax.json.JsonObject jsonObj) throws IOException
clear()
fromJSONObject
in class ConfigurableEntity
jsonObj
- The JSON ObjectIOException
- If JSON parsing failspublic Set<Operation> getOperations()
public List<String> getInternalNames()
protected javax.json.JsonObjectBuilder createJson() throws IOException
createJson
in class ConfigurableEntity
IOException
- If generating the JSON failsCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.