Class FactoryConfigurationDescription
- java.lang.Object
-
- org.apache.sling.feature.extension.apiregions.api.config.AttributeableEntity
-
- org.apache.sling.feature.extension.apiregions.api.config.DescribableEntity
-
- org.apache.sling.feature.extension.apiregions.api.config.ConfigurableEntity
-
- org.apache.sling.feature.extension.apiregions.api.config.FactoryConfigurationDescription
-
public class FactoryConfigurationDescription extends ConfigurableEntity
Description of an OSGi factory configuration This class is not thread safe.
-
-
Constructor Summary
Constructors Constructor Description FactoryConfigurationDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clear the object and set the defaultsvoid
fromJSONObject(javax.json.JsonObject jsonObj)
Extract the metadata from the JSON object.List<String>
getInternalNames()
Get the internal factory configuration nameSet<Operation>
getOperations()
Get the operations-
Methods inherited from class org.apache.sling.feature.extension.apiregions.api.config.ConfigurableEntity
getPropertyDescriptions
-
Methods inherited from class org.apache.sling.feature.extension.apiregions.api.config.DescribableEntity
getDeprecated, getDescription, getTitle, setDeprecated, setDescription, setTitle
-
Methods inherited from class org.apache.sling.feature.extension.apiregions.api.config.AttributeableEntity
getAttributes, toJSONObject
-
-
-
-
Method Detail
-
clear
public void clear()
Clear the object and set the defaults- Overrides:
clear
in classConfigurableEntity
-
fromJSONObject
public void fromJSONObject(javax.json.JsonObject jsonObj) throws IOException
Extract the metadata from the JSON object. This method first callsclear()
- Overrides:
fromJSONObject
in classConfigurableEntity
- Parameters:
jsonObj
- The JSON Object- Throws:
IOException
- If JSON parsing fails
-
getOperations
public Set<Operation> getOperations()
Get the operations- Returns:
- Mutable set of operations
-
-