| Package | com.vmware.actionsfw |
| Class | public class ActionSetSpec |
| Inheritance | ActionSetSpec Object |
ActionSpec objects and is the object
type for extensions that extend the vise.actions.sets extension point.
The action framework generates actions from the ActionSpec objects
contained within the actions property. Each action within the set may
share common metadata that describes the type of objects for which the contained
actions are relevant.
See also
| Property | Defined By | ||
|---|---|---|---|
| actions : Array
An Array of ActionSpec objects that describe a set of
actions. | ActionSetSpec | ||
| actions | property |
public var actions:Array
An Array of ActionSpec objects that describe a set of
actions.
<!-- action set for VMs -->
<extension id="com.acme.actions.vm.vmActionSet"/>
<extendedPoint>vise.actions.sets</extendedPoint>
<object>
<actions>
<!-- action 1 -->
<com.vmware.actionsfw.ActionSpec>
<uid>com.acme.actions.vm.vmAction1</uid>
<label>action label 1</label>
<description>This will perform action 1 on the virtual machine</description>
<icon>Embed("../assets/vmAction1Icon.png")</icon>
<!-- This action requires that the "config.template" property be true on the ActionContext objects -->
<conditionalProperty>config.template</conditionalProperty>
<!-- The command class that handles ActinInvocationEvents for this action -->
<operationId>vmAction1CommandClass</operationId>
<acceptsMultipleTargets>true</acceptsMultipleTargets>
</com.vmware.actionsfw.ActionSpec>
</actions>
</object>
<metadata>
<objectType>VirtualMachine</objectType>
</metadata>
</extension>