gradle
8.6

# ActionConfiguration

interface ActionConfiguration(source)

Allows specification of configuration for some action.

The configuration is represented using zero or more initialization parameters to use when constructing an instance of the implementation class. The following types are supported:

- String
- Boolean
- Integer, Long, Short and other Number subtypes.
- java.io.File
- A java.util.List or java.util.Set of any supported type.
- An array of any supported type.
- A java.util.Map with keys and values of any supported type.
- An Enum type.
- A Named type created using named.
- Any serializable type.

## Functions

getParams
Link copied to clipboard
abstract fun getParams(): Array<Any>
Gets the initialization parameters that will be used when constructing an instance of the implementation class.
params
Link copied to clipboard
abstract fun params(params: Array<Any>)
Adds initialization parameters to use when constructing an instance of the implementation class.
setParams
Link copied to clipboard
abstract fun setParams(params: Array<Any>)
Sets any initialization parameters to use when constructing an instance of the implementation class.