Skip to main content

Pentaho+ documentation is moving!

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

 

Hitachi Vantara Lumada and Pentaho Documentation

Generic

pentaho.action Generic

The action.Generic class represents a generic model of actions.

AMD Module

require(["pentaho/action/Generic"], function(Generic) { /* code goes here */ });

See also: pentaho.action.spec.IGeneric

Extends

Constructor

Name Description
new Generic(spec)
Abstract

Creates an action instance given its specification.

Methods

Name Description
_fillSpec(spec)
Protected

Fills the given specification with this action's attributes' local values, and returns whether any attribute was actually added.

_init(spec)
Protected

Initializes an action instance given its specification.

clone()
toSpec() : pentaho.action.spec.IGeneric

Creates a specification that describes this action.

Constructor Details

new Generic(spec)
Abstract

Creates an action instance given its specification.

Source: javascript/web/pentaho/action/Generic.js, line 43

Parameters:
Name Default Value Summary
spec : pentaho.action.spec.IGeneric
Optional

A generic action specification.

See also: pentaho.action.spec.IGeneric

Methods Details

_fillSpec(spec)
Protected

Fills the given specification with this action's attributes' local values, and returns whether any attribute was actually added.

Source: javascript/web/pentaho/action/Generic.js, line 83

Parameters:
Name Default Value Summary
spec : pentaho.action.spec.IGeneric
Optional

A generic action specification.

_init(spec)
Protected

Initializes an action instance given its specification.

Source: javascript/web/pentaho/action/Generic.js, line 54

Parameters:
Name Default Value Summary
spec : pentaho.action.spec.IGeneric
Optional

A generic action specification.

clone()

Source: javascript/web/pentaho/action/Generic.js, line 58

toSpec() : pentaho.action.spec.IGeneric

Creates a specification that describes this action.

Source: javascript/web/pentaho/action/Generic.js, line 67

Returns:
Name Description
pentaho.action.spec.IGeneric

A generic action specification.