public class PipelineConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PipelineConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
Object |
getParameter(String name)
Returns a parameter defined for the pipeline by
name. |
<T> T |
getParameter(String name,
T defaultValue)
Returns a parameter defined for the pipeline by
name. |
Map<String,Object> |
getParameters()
Returns all parameters defined for the pipeline.
|
public Object getParameter(String name)
name.name - a name of a parameter.null if the parameter is not defined.public <T> T getParameter(String name, T defaultValue)
name. If the parameter is not present then defaultValue is returned.
Returned value is cast to the type of defaultValue.name - a name of a parameternull if the parameter is not defined.IllegalConfigurationException - if a type of a default value does not match a type of parameter.Copyright © 2020. All rights reserved.