public class RunningChecker extends DenyMyVMsActions<Running>
Running
constraintRunning
Constructor and Description |
---|
RunningChecker(Running r)
Make a new checker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
consume(AllocateEvent e)
Notify for the beginning of an event.
|
boolean |
endsWith(Model mo)
Notify for the model that is reached once the reconfiguration has been applied.
|
boolean |
startRunningVMPlacement(RunningVMPlacement a)
Allow all the
RunningVMPlacement actions. |
consume, start, start, start, start, start
public RunningChecker(Running r)
r
- the associated constraintpublic boolean startRunningVMPlacement(RunningVMPlacement a)
AllowAllConstraintChecker
RunningVMPlacement
actions.startRunningVMPlacement
in class DenyMyVMsActions<Running>
a
- the action to allowtrue
public boolean consume(AllocateEvent e)
SatConstraintChecker
consume
in interface SatConstraintChecker<Running>
consume
in class DenyMyVMsActions<Running>
e
- the event that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean endsWith(Model mo)
SatConstraintChecker
endsWith
in interface SatConstraintChecker<Running>
endsWith
in class AllowAllConstraintChecker<Running>
mo
- the modeltrue
iff the model is valid wrt. the constraintCopyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.