public final class TemplateVariable extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateVariable.VariableType
An enumeration for all supported variable types.
|
| Constructor and Description |
|---|
TemplateVariable(String name,
TemplateVariable.VariableType type)
Creates a new
TemplateVariable with the given name and type. |
TemplateVariable(String name,
TemplateVariable.VariableType type,
String description)
Creates a new
TemplateVariable with the given name, type and description. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasDescription()
Returns whether the variable has a description.
|
String |
toString() |
public TemplateVariable(String name, TemplateVariable.VariableType type)
TemplateVariable with the given name and type.name - must not be null or empty.type - must not be null.public TemplateVariable(String name, TemplateVariable.VariableType type, String description)
TemplateVariable with the given name, type and description.name - must not be null or empty.type - must not be null.description - must not be null.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.