ESE Routines > ESETaskParameter

# ESETaskParameter

The ESETaskParameter class represents ESE task parameters.

Every parameter of an ESETask, whether input or output, is accessed via an ESETaskParameter object. Accessing the ESETaskParameter is not required.

The ESE API automatically validates and converts common data types between IDL variables and JSON (string forms of hashes, arrays, numbers, etc.). Non-standard types can be converted by custom routines specified to serialization and deserialization mechanism for the given ESE class.

## Methods

None.

## Example

Though task parameters do not have any methods, they can still be queried for their properties:

Task = ESE.FindTask( 'localhost', 'ese_addition' )

Param = Task.GetParameter( 'a' )

PRINT, Param.DATATYPE

PRINT, Param.DIRECTION

## Properties

### CHOICELIST (Get)

The list of possible values to use in the slider when setting values in the Admin Console task request builder.

### DATATYPE (Get)

The name of the ESE datatype, or the name of the object that defines the data type, for example, 'ENVIRaster', for the parameter.

### DEFAULTVALUE (Get)

The value to use when running the task if no specific input is supplied.

### DIRECTION (Get)

Either 'input' or 'output'.

### DISPLAYNAME (Get)

The name of the service displayed in the Admin Console.

### MAX (Get)

The maximum value to use when setting values in the Admin Console task request builder.

### MIN (Get)

The minimum value to use when setting values in the Admin Console task request builder.

### NAME (Get)

The name of the parameter.

### PARAMETERTYPE (Get)

Either 'required' or 'optional'.

### STEP (Get)

The step value to use in the slider when setting values in the Admin Console task request builder.

### VALUE (Get, Set)

The currently stored value for the parameter.

## Version History

IDL 8.4.1 | Introduced

## See Also

ESE, ESETask