Class PriorityAlgorithmVisitor
java.lang.Object
com.aquima.interactions.process.impl.PriorityAlgorithmVisitor
- All Implemented Interfaces:
IPriorityAlgorithmVisitor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PriorityAlgorithmVisitor
(IProcessExtensionFactory factory, Map<String, IPriorityAlgorithmDefinition> algorithms) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlgorithm
(IPriorityAlgorithmDS datasource) This method may be used to add a priority algorithm to the process engine.static Map<String,
IPriorityAlgorithmDefinition> process
(IProcessExtensionFactory factory, IProcessEngineDS datasource)
-
Constructor Details
-
PriorityAlgorithmVisitor
protected PriorityAlgorithmVisitor(IProcessExtensionFactory factory, Map<String, IPriorityAlgorithmDefinition> algorithms)
-
-
Method Details
-
process
public static Map<String,IPriorityAlgorithmDefinition> process(IProcessExtensionFactory factory, IProcessEngineDS datasource) throws InitializationException - Throws:
InitializationException
-
addAlgorithm
Description copied from interface:IPriorityAlgorithmVisitor
This method may be used to add a priority algorithm to the process engine.- Specified by:
addAlgorithm
in interfaceIPriorityAlgorithmVisitor
- Parameters:
datasource
- Data source providing the information for the algorithm that should be added.- Throws:
InitializationException
- This exception is thrown when the algorithm information was invalid.
-