Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Parameter |
build() |
Parameter.Builder |
copy(Parameter model) |
Parameter.Builder |
name(String name)
Parameter name.
|
Parameter.Builder |
pattern(String pattern)
Java regex pattern to validate a parameter value.
|
Parameter.Builder |
type(Parameter.Type type) |
public Parameter.Builder name(String name)
Parameter name.
name
- the value to setpublic Parameter.Builder type(Parameter.Type type)
public Parameter.Builder pattern(String pattern)
Java regex pattern to validate a parameter value.
pattern
- the value to setpublic Parameter build()
public Parameter.Builder copy(Parameter model)
Copyright © 2016–2024. All rights reserved.