public static class StrategyParameter.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StrategyParameter |
build() |
StrategyParameter.Builder |
copy(StrategyParameter model) |
StrategyParameter.Builder |
defaultValue(Object defaultValue)
A default value used for the strategy parameter.
|
StrategyParameter.Builder |
description(String description)
Text describing the strategy parameter.
|
StrategyParameter.Builder |
isRequired(Boolean isRequired)
Whether this parameter is required.
|
StrategyParameter.Builder |
name(String name)
The name of the strategy parameter.
|
StrategyParameter.Builder |
possibleValues(List<Object> possibleValues)
The list of possible values used for these strategy parameters.
|
StrategyParameter.Builder |
type(StrategyParameterType type)
The type of strategy parameter.
|
public StrategyParameter.Builder name(String name)
The name of the strategy parameter.
name
- the value to setpublic StrategyParameter.Builder type(StrategyParameterType type)
The type of strategy parameter.
type
- the value to setpublic StrategyParameter.Builder description(String description)
Text describing the strategy parameter.
description
- the value to setpublic StrategyParameter.Builder isRequired(Boolean isRequired)
Whether this parameter is required.
isRequired
- the value to setpublic StrategyParameter.Builder defaultValue(Object defaultValue)
A default value used for the strategy parameter.
defaultValue
- the value to setpublic StrategyParameter.Builder possibleValues(List<Object> possibleValues)
The list of possible values used for these strategy parameters.
possibleValues
- the value to setpublic StrategyParameter build()
public StrategyParameter.Builder copy(StrategyParameter model)
Copyright © 2016–2024. All rights reserved.