Skip to main content

Pentaho+ documentation has moved!

The new product documentation portal is here. Check it out now at docs.hitachivantara.com

 

Hitachi Vantara Lumada and Pentaho Documentation

ITarget

pentaho.action. ITarget

The ITarget interface represents the entity which is acted upon or the place where the action takes place.

A target controls the execution of actions in it. Depending on the target and type of action, events may be emitted for each of the action execution's phases. Consult the documentation of the target type to know how it handles the execution of a given action.

It is advisable that when a target does not know a specific action type that it executes it generically, by delegating all of its phases to events.

Source: doc-js/pentaho/action/ITarget.jsdoc, line 17

See also: pentaho.action.Base

Methods

Name Description
act(action) : pentaho.action.Execution

Executes or starts execution of a given action in this target and returns the corresponding action execution instance.

Methods Details

act(action) : pentaho.action.Execution

Executes or starts execution of a given action in this target and returns the corresponding action execution instance.

This method can be given synchronous or asynchronous actions. To wait for the result of an asynchronous action, obtain the promise property of the returned action execution instance.

Source: doc-js/pentaho/action/ITarget.jsdoc, line 37

Parameters:
Name Default Value Summary
action : pentaho.action.Base | pentaho.action.spec.IBase

The action or action specification to execute.

Returns:
Name Description
pentaho.action.Execution

The resulting action execution.