Class OperationModifier
java.lang.Object
me.datafox.dfxengine.dependencies.AbstractDependency
me.datafox.dfxengine.dependencies.DependencyDependent
me.datafox.dfxengine.values.modifier.AbstractModifier
me.datafox.dfxengine.values.modifier.OperationModifier
- All Implemented Interfaces:
Comparable<Modifier>
,Function<Numeral,
,Numeral> Dependency
,Dependent
,Modifier
- Direct Known Subclasses:
MappingOperationModifier
-
Field Summary
Fields inherited from class me.datafox.dfxengine.values.modifier.AbstractModifier
priority
Fields inherited from class me.datafox.dfxengine.dependencies.AbstractDependency
dependents, logger
-
Constructor Summary
ConstructorsModifierConstructorDescriptionOperationModifier
(int priority, DualParameterOperation operation, Value parameter1, Value parameter2) OperationModifier
(int priority, Operation operation, Value... parameters) OperationModifier
(int priority, SingleParameterOperation operation, Value parameter) OperationModifier
(int priority, SourceOperation operation) protected
OperationModifier
(org.slf4j.Logger logger, int priority, Operation operation, Value... parameters) -
Method Summary
Methods inherited from class me.datafox.dfxengine.values.modifier.AbstractModifier
getParameter, getParameters, onInvalidate
Methods inherited from class me.datafox.dfxengine.dependencies.DependencyDependent
invalidate
Methods inherited from class me.datafox.dfxengine.dependencies.AbstractDependency
addDependent, addDependents, containsDependent, containsDependentRecursive, containsDependents, containsDependentsRecursive, dependentStream, getDependents, invalidateDependents, recursiveDependentStream, removeDependent, removeDependents
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.datafox.dfxengine.dependencies.Dependency
addDependent, addDependents, containsDependent, containsDependentRecursive, containsDependents, containsDependentsRecursive, dependentStream, getDependents, invalidateDependents, recursiveDependentStream, removeDependent, removeDependents
Methods inherited from interface me.datafox.dfxengine.dependencies.Dependent
invalidate
Methods inherited from interface me.datafox.dfxengine.values.api.Modifier
compareTo, getPriority
-
Constructor Details
-
OperationModifier
- Parameters:
priority
- priority for this modifieroperation
-SourceOperation
to be used
-
OperationModifier
- Parameters:
priority
- priority for this modifieroperation
-SingleParameterOperation
to be usedparameter
- parameterValue
for theSingleParameterOperation
-
OperationModifier
public OperationModifier(int priority, DualParameterOperation operation, Value parameter1, Value parameter2) - Parameters:
priority
- priority for this modifieroperation
-DualParameterOperation
to be usedparameter1
- first parameterValue
for theDualParameterOperation
parameter2
- second parameterValue
for theDualParameterOperation
-
OperationModifier
- Parameters:
priority
- priority for this modifieroperation
-Operation
to be usedparameters
- parameterValues
for theOperation
- Throws:
IllegalArgumentException
- if the number of parameters is not equal toOperation.getParameterCount()
for theOperation
-
OperationModifier
protected OperationModifier(org.slf4j.Logger logger, int priority, Operation operation, Value... parameters) - Parameters:
logger
-Logger
for this modifierpriority
- priority for this modifieroperation
-Operation
to be usedparameters
- parameterValues
for theOperation
- Throws:
IllegalArgumentException
- if the number of parameters is not equal toOperation.getParameterCount()
for theOperation
-
-
Method Details