public class Param extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Param.Builder<T extends Param.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Param(Param.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
Optional<List<Constraint>> |
constraints()
Returns parameter constraints
|
Optional<String> |
description()
Returns parameter description
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
mandatory()
Returns whether the parameter is mandatory or optional.
|
boolean |
multiple()
Returns if the parameter is an array type
|
String |
name()
Returns parameter name
|
static Param.Builder<?> |
newBuilder() |
boolean |
primitive()
Returns if the parameter is a primitive type
|
String |
toString() |
PropertyType |
type()
Returns parameter type
|
protected Param(Param.Builder<?> builder)
public boolean mandatory()
public String name()
public boolean multiple()
public boolean primitive()
PrimitiveType
public Optional<String> description()
public PropertyType type()
public Optional<List<Constraint>> constraints()
public static Param.Builder<?> newBuilder()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.