Class NuxeoHeaderDescriptor
java.lang.Object
org.nuxeo.ecm.platform.web.common.requestcontroller.service.NuxeoHeaderDescriptor
- All Implemented Interfaces:
Descriptor
- Since:
- 6.0
- Author:
- Thierry Martins
-
Field Summary
FieldsFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()The descriptor id, descriptors with same id are merged.getName()getValue()booleanmerge(Descriptor o) Returns a descriptor representingothermerged intothisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
name
-
enabled
-
value
-
-
Constructor Details
-
NuxeoHeaderDescriptor
public NuxeoHeaderDescriptor()
-
-
Method Details
-
getId
Description copied from interface:DescriptorThe 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:
getIdin interfaceDescriptor
-
getName
-
isEnabled
public boolean isEnabled() -
getValue
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-