Class OutputFormatDescriptor
java.lang.Object
org.nuxeo.template.api.descriptor.OutputFormatDescriptor
- All Implemented Interfaces:
 Descriptor
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected Stringprotected Stringprotected StringFields 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.getLabel()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
- 
id
 - 
label
 - 
enabled
protected boolean enabled - 
chainId
 - 
mimeType
 
 - 
 - 
Constructor Details
- 
OutputFormatDescriptor
public OutputFormatDescriptor() 
 - 
 - 
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
 - 
getLabel
 - 
isEnabled
public boolean isEnabled() - 
getChainId
 - 
getMimeType
 - 
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
 mergein interfaceDescriptor- Returns:
 - the merged descriptor
 
 
 -