public class KillVMAction extends Object implements VMContextAction
VMContextAction entry point to provide a kill switch
for the currently selected Virtual Machine.| Constructor and Description |
|---|
KillVMAction(AgentInfoDAO agentDao,
VmInfoDAO vmDao,
RequestQueue queue,
RequestResponseListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(VmRef reference)
Invoked when the user selects this
VMContextAction. |
String |
getDescription()
A user-visible description for
VMContextAction. |
Filter<VmRef> |
getFilter()
The
Filter returned by this method is used to select what VMs
this VMContextAction is applicable to. |
String |
getName()
A user-visible name for this
VMContextAction. |
public KillVMAction(AgentInfoDAO agentDao, VmInfoDAO vmDao, RequestQueue queue, RequestResponseListener listener)
public String getName()
VMContextActionVMContextAction. Should be
localized.getName in interface ContextActiongetName in interface VMContextActionpublic String getDescription()
VMContextActionVMContextAction. Should be
localized.getDescription in interface ContextActiongetDescription in interface VMContextActionpublic void execute(VmRef reference)
VMContextActionVMContextAction.execute in interface VMContextActionreference - specifies the vm that this VMContextAction was
invoked on.public Filter<VmRef> getFilter()
VMContextActionFilter returned by this method is used to select what VMs
this VMContextAction is applicable to.getFilter in interface VMContextActionCopyright © 2013. All Rights Reserved.