T
- data type of the variablepublic class Variable<T> extends Object
Variable.var("test",String.class) .value("example value") .metadata("readOnly",true). .metadata("required",false)
NodeContainerBuilder.variable(Variable)
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMetadata() |
String |
getName() |
Class<T> |
getType() |
T |
getValue() |
Variable<T> |
metadata(String key,
Object value) |
String |
toString() |
Variable<T> |
value(T value) |
static <T> Variable<T> |
var(String name,
Class<T> type) |
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.