public class LonelyChecker extends AllowAllConstraintChecker<Lonely>
Lonely
constraintLonely
Constructor and Description |
---|
LonelyChecker(Lonely l)
Make a new checker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endsWith(Model mo)
Notify for the model that is reached once the reconfiguration has been applied.
|
boolean |
start(BootNode a)
Notify for the beginning of an action.
|
boolean |
startRunningVMPlacement(RunningVMPlacement a)
Allow all the
RunningVMPlacement actions. |
boolean |
startsWith(Model mo)
Notify for the model at the source of the reconfiguration.
|
public LonelyChecker(Lonely l)
l
- the associated constraintpublic boolean startRunningVMPlacement(RunningVMPlacement a)
AllowAllConstraintChecker
RunningVMPlacement
actions.startRunningVMPlacement
in class AllowAllConstraintChecker<Lonely>
a
- the action to allowtrue
public boolean start(BootNode a)
SatConstraintChecker
start
in interface SatConstraintChecker<Lonely>
start
in class AllowAllConstraintChecker<Lonely>
a
- the executed that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean endsWith(Model mo)
SatConstraintChecker
endsWith
in interface SatConstraintChecker<Lonely>
endsWith
in class AllowAllConstraintChecker<Lonely>
mo
- the modeltrue
iff the model is valid wrt. the constraintpublic boolean startsWith(Model mo)
SatConstraintChecker
startsWith
in interface SatConstraintChecker<Lonely>
startsWith
in class AllowAllConstraintChecker<Lonely>
mo
- the modeltrue
iff the model is valid wrt. the constraintCopyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.