public abstract class DenyMyVMsActions<C extends SatConstraint> extends AllowAllConstraintChecker<C>
Constructor and Description |
---|
DenyMyVMsActions(C s)
New instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
consume(AllocateEvent e)
Notify for the beginning of an event.
|
boolean |
consume(SubstitutedVMEvent e)
Notify for the beginning of an event.
|
boolean |
start(Allocate a)
Notify for the beginning of an action.
|
boolean |
start(ForgeVM a)
Notify for the beginning of an action.
|
boolean |
start(KillVM a)
Notify for the beginning of an action.
|
boolean |
start(ShutdownVM a)
Notify for the beginning of an action.
|
boolean |
start(SuspendVM a)
Notify for the beginning of an action.
|
boolean |
startRunningVMPlacement(RunningVMPlacement a)
Allow all the
RunningVMPlacement actions. |
public DenyMyVMsActions(C s)
s
- the constraint associated to the checker.public boolean start(ShutdownVM a)
SatConstraintChecker
start
in interface SatConstraintChecker<C extends SatConstraint>
start
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean start(SuspendVM a)
SatConstraintChecker
start
in interface SatConstraintChecker<C extends SatConstraint>
start
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean start(KillVM a)
SatConstraintChecker
start
in interface SatConstraintChecker<C extends SatConstraint>
start
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean start(Allocate a)
SatConstraintChecker
start
in interface SatConstraintChecker<C extends SatConstraint>
start
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean consume(SubstitutedVMEvent e)
SatConstraintChecker
consume
in interface SatConstraintChecker<C extends SatConstraint>
consume
in class AllowAllConstraintChecker<C extends SatConstraint>
e
- the event that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean consume(AllocateEvent e)
SatConstraintChecker
consume
in interface SatConstraintChecker<C extends SatConstraint>
consume
in class AllowAllConstraintChecker<C extends SatConstraint>
e
- the event that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean start(ForgeVM a)
SatConstraintChecker
start
in interface SatConstraintChecker<C extends SatConstraint>
start
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action that will be executedtrue
iff the action execution is valid wrt. the constraintpublic boolean startRunningVMPlacement(RunningVMPlacement a)
AllowAllConstraintChecker
RunningVMPlacement
actions.startRunningVMPlacement
in class AllowAllConstraintChecker<C extends SatConstraint>
a
- the action to allowtrue
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.