public class AssignmentInterpreter extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
modelId
Model instance.
|
protected ModelProvider |
modelProvider
Model provider service.
|
Constructor and Description |
---|
AssignmentInterpreter(long modelId,
ModelProvider modelProvider)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeAssignment(com.whitestein.lsps.model.AssignmentGroup assignmentGroup,
Context context)
Execute assignment in group.
|
protected Map<String,List<com.whitestein.lsps.model.AssignmentGroup>> |
getAllAssignments(com.whitestein.lsps.model.ProcessModel model,
Set<com.whitestein.lsps.model.ProcessModel> processedModels)
Returns all assignments from the process model.
|
void |
handle(Change change)
Performs assignments on a relevant model elements.
|
protected final long modelId
protected final ModelProvider modelProvider
public AssignmentInterpreter(long modelId, ModelProvider modelProvider)
modelId
- modelProvider
- protected Map<String,List<com.whitestein.lsps.model.AssignmentGroup>> getAllAssignments(com.whitestein.lsps.model.ProcessModel model, Set<com.whitestein.lsps.model.ProcessModel> processedModels)
model
- processedModels
- public void handle(Change change)
change
- protected void executeAssignment(com.whitestein.lsps.model.AssignmentGroup assignmentGroup, Context context)
assignmentGroup
- context
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.