Class ConfigurationPropertyDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.services.config.ConfigurationPropertyDescriptor
-
- All Implemented Interfaces:
Descriptor
public class ConfigurationPropertyDescriptor extends Object implements Descriptor
Descriptor for JSF configuration contributions.- Since:
- 7.4
-
-
Field Summary
Fields Modifier and Type Field Description boolean
list
protected static Log
log
protected String
name
boolean
override
protected String
value
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description ConfigurationPropertyDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPropertyDescriptor
clone()
String
getId()
The descriptor id, descriptors with same id are merged.String
getName()
String
getValue()
boolean
isList()
boolean
isOverride()
Descriptor
merge(Descriptor o)
Returns a descriptor representingother
merged intothis
String
toString()
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
-
-
-
Constructor Detail
-
ConfigurationPropertyDescriptor
public ConfigurationPropertyDescriptor()
-
-
Method Detail
-
clone
public ConfigurationPropertyDescriptor clone()
-
getId
public String getId()
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
- Since:
- 10.3
-
isList
public boolean isList()
- Since:
- 10.3
-
isOverride
public boolean isOverride()
- Since:
- 10.3
-
merge
public Descriptor merge(Descriptor o)
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
- Since:
- 10.3
-
-