public class DependenciesExtractor extends Object implements ActionVisitor
#visit(...)
methods.Constructor and Description |
---|
DependenciesExtractor(Model o)
Make a new instance.
|
Modifier and Type | Method and Description |
---|---|
Set<Action> |
getDependencies(Action a)
Get the dependencies for an action.
|
Boolean |
visit(Allocate a)
Visit a
Allocate action. |
Boolean |
visit(AllocateEvent a)
Visit a
AllocateEvent event. |
Boolean |
visit(BootNode a)
Visit a
BootNode action. |
Boolean |
visit(BootVM a)
Visit a
BootVM action. |
Boolean |
visit(ForgeVM a)
Visit a
ForgeVM action. |
Boolean |
visit(KillVM a)
Visit a
KillVM action. |
Boolean |
visit(MigrateVM a)
Visit a
MigrateVM action. |
Boolean |
visit(ResumeVM a)
Visit a
ResumeVM action. |
Boolean |
visit(ShutdownNode a)
Visit a
ShutdownNode action. |
Boolean |
visit(ShutdownVM a)
Visit a
ShutdownVM action. |
Object |
visit(SubstitutedVMEvent a)
Visit a
SubstitutedVMEvent event. |
Boolean |
visit(SuspendVM a)
Visit a
SuspendVM action. |
public DependenciesExtractor(Model o)
o
- the model at the source of the reconfiguration planpublic Boolean visit(Allocate a)
ActionVisitor
Allocate
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(AllocateEvent a)
ActionVisitor
AllocateEvent
event.visit
in interface ActionVisitor
a
- the event to visitpublic Boolean visit(BootNode a)
ActionVisitor
BootNode
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(BootVM a)
ActionVisitor
BootVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(ForgeVM a)
ActionVisitor
ForgeVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(KillVM a)
ActionVisitor
KillVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(MigrateVM a)
ActionVisitor
MigrateVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(ResumeVM a)
ActionVisitor
ResumeVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(ShutdownNode a)
ActionVisitor
ShutdownNode
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(ShutdownVM a)
ActionVisitor
ShutdownVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Boolean visit(SuspendVM a)
ActionVisitor
SuspendVM
action.visit
in interface ActionVisitor
a
- the action to visitpublic Object visit(SubstitutedVMEvent a)
ActionVisitor
SubstitutedVMEvent
event.visit
in interface ActionVisitor
a
- the event to visitCopyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.