# Class: com.pnfsoftware.jeb.core.actions.ActionData

Base action data class. This class is meant to be subclassed.

## Constructor: ActionData


## Constructor: ActionData
- parameter: `hintNoInfoRequest`, type: `boolean`

Description: 
parameter: hintNoInfoRequest: if true, informe `prepareAction()` that only minimal action needs            to be needed, i.e. the client code wants to execute an action regardless of the            current state of things

## Static Field: ERRCODE_UNKNOWN
Type: `int`

Constant value: `0`
Description: The error code 0 means that no error code was set\-up. Meaningful error codes must be non\-zero, and are defined within specific action data classes \(sub\-classes of this class\).

## Method: canReuseObject
- return type: `boolean`

Description: Determine whether this action data object may be safely reused after a [#reset()](#reset()) invocation.
return: 

## Method: getDescription
- return type: `java.lang.String`

Description: Retrieve the description string provided by the plugins. To be used by clients.
return: 

## Method: getExecutionErrorCode
- return type: `int`

Description: The client may retrieve the optionally\-set execution error code after a failed call to [executeAction\(\)](IInteractiveUnit#executeAction(ActionContext, IActionData))
return: 

## Method: getExecutionErrorMessage
- return type: `java.lang.String`

Description: The client may retrieve the optionally\-set execution error message after a failed call to [executeAction\(\)](IInteractiveUnit#executeAction(ActionContext, IActionData))
return: 

## Method: getValue
- parameter: `key`, type: `java.lang.String`
- return type: `java.lang.Object`


## Method: isNoInfoRequest
- return type: `boolean`


## Method: reset

Description: Reset this action data object. Sub\-classes should override this method and invoke it as well.

## Method: setDescription
- parameter: `description`, type: `java.lang.String`

Description: Set the description string to be provided to the clients. To be used by plugins.
parameter: description: 

## Method: setExecutionError
- parameter: `code`, type: `int`
- parameter: `msg`, type: `java.lang.String`

Description: The plugin may set an execution error code and message on a failed [executeAction\(\)](IInteractiveUnit#executeAction(ActionContext, IActionData)) invocation.
parameter: code: 
parameter: msg: 

## Method: setExecutionErrorCode
- parameter: `code`, type: `int`

Description: The plugin may set an execution error code on a failed [executeAction\(\)](IInteractiveUnit#executeAction(ActionContext, IActionData)) invocation.
parameter: code: 

## Method: setExecutionErrorMessage
- parameter: `msg`, type: `java.lang.String`

Description: The plugin may set an execution error message on a failed [executeAction\(\)](IInteractiveUnit#executeAction(ActionContext, IActionData)) invocation.
parameter: msg: 

## Method: setValue
- parameter: `key`, type: `java.lang.String`
- parameter: `value`, type: `java.lang.Object`


