TaskActionResolveContext

A TaskActionResolveContext object contains contextual information about a TaskResolvableAction instance being resolved in response to the user invoking it. An object of this type will be provided to a task provider’s resolveTaskAction() method.

The TaskActionResolveContext class is not subclassable.

Added in Nova 4.

Properties

action

The action type name of the action being invoked, such as Task.Build, Task.Run, or Task.Clean. This value can be compard to see what type of action to resolve.

data

The arbitrary data argument that was passed to the resolvable action that is being resolved.

This object can be of any type that is transferrable, or encodable in the same way as arguments to the CommandsRegistry. If not set when the action was constructed, this property will be undefined.

This property is readonly.