public class QuarantineChecker extends AllowAllConstraintChecker<Quarantine>
Quarantine
constraintQuarantine
Constructor and Description |
---|
QuarantineChecker(Quarantine q)
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(MigrateVM 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 QuarantineChecker(Quarantine q)
q
- the associated constraintpublic boolean start(MigrateVM a)
SatConstraintChecker
start
in interface SatConstraintChecker<Quarantine>
start
in class AllowAllConstraintChecker<Quarantine>
a
- the executed that will be executedstartRunningVMPlacement(a)
public boolean startRunningVMPlacement(RunningVMPlacement a)
AllowAllConstraintChecker
RunningVMPlacement
actions.startRunningVMPlacement
in class AllowAllConstraintChecker<Quarantine>
a
- the action to allowtrue
public boolean endsWith(Model mo)
SatConstraintChecker
endsWith
in interface SatConstraintChecker<Quarantine>
endsWith
in class AllowAllConstraintChecker<Quarantine>
mo
- the modeltrue
iff the model is valid wrt. the constraintpublic boolean startsWith(Model mo)
SatConstraintChecker
startsWith
in interface SatConstraintChecker<Quarantine>
startsWith
in class AllowAllConstraintChecker<Quarantine>
mo
- the modeltrue
iff the model is valid wrt. the constraintCopyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.