public class ProcessorDependency
extends java.lang.Object
| Constructor and Description |
|---|
ProcessorDependency(java.lang.Class<? extends Processor<?,?>> required,
java.lang.Class<? extends Processor<?,?>> dependent)
Constructor.
|
ProcessorDependency(java.lang.Class<? extends Processor<?,?>> required,
java.lang.Class<? extends Processor<?,?>> dependent,
java.util.Set<java.lang.String> commonInputs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCommonInput(java.lang.String inputName)
Add a common input to this dependency.
|
java.util.Set<java.lang.String> |
getCommonInputs()
The inputs that both processors must have in common.
|
java.lang.Class<? extends Processor<?,?>> |
getDependent()
Returns the processor which requires the other to be executed first.
|
java.lang.Class<? extends Processor<?,?>> |
getRequired()
Returns the processor which is required to be executed before the other.
|
java.lang.String |
toString() |
public ProcessorDependency(java.lang.Class<? extends Processor<?,?>> required, java.lang.Class<? extends Processor<?,?>> dependent, java.util.Set<java.lang.String> commonInputs)
dependent requires the processor required.required - The processor which is required to be executed before the other.dependent - The processor which requires the other to be executed first.commonInputs - The dependency is only enforced if the two processors have these inputs in
common.public ProcessorDependency(java.lang.Class<? extends Processor<?,?>> required, java.lang.Class<? extends Processor<?,?>> dependent)
dependent requires the processor required.required - The processor which is required to be executed before the other.dependent - The processor which requires the other to be executed first.public final java.lang.Class<? extends Processor<?,?>> getRequired()
public final java.lang.Class<? extends Processor<?,?>> getDependent()
public final java.util.Set<java.lang.String> getCommonInputs()
public final void addCommonInput(java.lang.String inputName)
inputName - the name of the input to addpublic final java.lang.String toString()
toString in class java.lang.Object