Package org.nuxeo.ecm.web.resources.core
Class ProcessorDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.web.resources.core.ProcessorDescriptor
-
- All Implemented Interfaces:
Comparable<Processor>
,Processor
public class ProcessorDescriptor extends Object implements Processor
- Since:
- 7.3
-
-
Constructor Summary
Constructors Constructor Description ProcessorDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessorDescriptor
clone()
int
compareTo(Processor o)
String
getName()
Processor name, to be registered as an alias on wro.int
getOrder()
Class<?>
getTargetProcessorClass()
Returns the target processor class.List<String>
getTypes()
Flag type markers for processors filtering depending on use cases.boolean
isEnabled()
Boolean flag controlling enablement of a processor.boolean
isEnableSet()
Returns true if the enabled element was set on the descriptor, useful for merging.void
merge(ProcessorDescriptor other)
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Processor
Processor name, to be registered as an alias on wro.
-
isEnableSet
public boolean isEnableSet()
Returns true if the enabled element was set on the descriptor, useful for merging.
-
isEnabled
public boolean isEnabled()
Description copied from interface:Processor
Boolean flag controlling enablement of a processor.
-
getTypes
public List<String> getTypes()
Description copied from interface:Processor
Flag type markers for processors filtering depending on use cases.
-
getTargetProcessorClass
public Class<?> getTargetProcessorClass()
Description copied from interface:Processor
Returns the target processor class.Does not follow any given interface to avoid adherence to a given processing implementation.
- Specified by:
getTargetProcessorClass
in interfaceProcessor
-
compareTo
public int compareTo(Processor o)
- Specified by:
compareTo
in interfaceComparable<Processor>
-
clone
public ProcessorDescriptor clone()
-
merge
public void merge(ProcessorDescriptor other)
-
-