Class Configuration
- java.lang.Object
 - 
- org.apache.sling.provisioning.model.Traceable
 - 
- org.apache.sling.provisioning.model.Commentable
 - 
- org.apache.sling.provisioning.model.Configuration
 
 
 
 
- 
- All Implemented Interfaces:
 java.lang.Comparable<Configuration>
public class Configuration extends Commentable implements java.lang.Comparable<Configuration>
A configuration has either - a pid - or a factory pid and an alias (pid) and properties. 
- 
- 
Constructor Summary
Constructors Constructor Description Configuration(java.lang.String pid, java.lang.String factoryPid)Create a new configuration 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Configuration o)java.lang.StringgetFactoryPid()Return the factory pidjava.lang.StringgetPid()Get the pid.java.util.Dictionary<java.lang.String,java.lang.Object>getProperties()Get all properties of the configuration.booleanisSpecial()Is this a special configuration?java.lang.StringtoString()- 
Methods inherited from class org.apache.sling.provisioning.model.Commentable
getComment, setComment 
- 
Methods inherited from class org.apache.sling.provisioning.model.Traceable
getLocation, setLocation 
 - 
 
 - 
 
- 
- 
Method Detail
- 
compareTo
public int compareTo(Configuration o)
- Specified by:
 compareToin interfacejava.lang.Comparable<Configuration>
 
- 
getPid
public java.lang.String getPid()
Get the pid. If this is a factory configuration, it returns the alias for the configuration- Returns:
 - The pid.
 
 
- 
getFactoryPid
public java.lang.String getFactoryPid()
Return the factory pid- Returns:
 - The factory pid or null.
 
 
- 
isSpecial
public boolean isSpecial()
Is this a special configuration?- Returns:
 - Special config
 
 
- 
getProperties
public java.util.Dictionary<java.lang.String,java.lang.Object> getProperties()
Get all properties of the configuration.- Returns:
 - The properties
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classCommentable
 
 - 
 
 -