Package org.gradle.api
Interface ActionConfiguration
-
public interface ActionConfigurationAllows 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:
StringBooleanInteger,Long,Shortand otherNumbersubtypes.File- A
ListorSetof any supported type. - An array of any supported type.
- A
Mapwith keys and values of any supported type. - An
Enumtype. - A
Namedtype created usingObjectFactory.named(Class, String). - Any serializable type.
- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]getParams()Gets the initialization parameters that will be used when constructing an instance of the implementation class.voidparams(java.lang.Object... params)Adds initialization parameters to use when constructing an instance of the implementation class.voidsetParams(java.lang.Object... params)Sets any initialization parameters to use when constructing an instance of the implementation class.
-
-
-
Method Detail
-
params
void params(java.lang.Object... params)
Adds initialization parameters to use when constructing an instance of the implementation class.- Parameters:
params- - the parameters to use during construction
-
setParams
void setParams(java.lang.Object... params)
Sets any initialization parameters to use when constructing an instance of the implementation class.- Parameters:
params- - the parameters to use during construction
-
getParams
java.lang.Object[] getParams()
Gets the initialization parameters that will be used when constructing an instance of the implementation class.- Returns:
- the parameters to use during construction
-
-