public class ProcessorDescriptor extends Object implements Processor
Modifier and Type | Field and Description |
---|---|
protected Boolean |
appendTypes |
protected Boolean |
enabled |
String |
name |
protected int |
order |
protected String |
type |
protected List<String> |
types |
Constructor and Description |
---|
ProcessorDescriptor() |
Modifier and Type | Method and 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) |
protected int order
protected Boolean appendTypes
public ProcessorDescriptor()
public String getName()
Processor
public boolean isEnableSet()
public boolean isEnabled()
Processor
public List<String> getTypes()
Processor
public Class<?> getTargetProcessorClass()
Processor
Does not follow any given interface to avoid adherence to a given processing implementation.
getTargetProcessorClass
in interface Processor
public int compareTo(Processor o)
compareTo
in interface Comparable<Processor>
public ProcessorDescriptor clone()
public void merge(ProcessorDescriptor other)
Copyright © 2018 Nuxeo. All rights reserved.