public class NodeTemplate extends LinkedHashMap
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeTemplate.Attributes |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NodeTemplate(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArtifact(String name,
String value,
String type) |
String |
addConnectionRequirement(NodeTemplate target,
String type,
String varName)
Add an endpoint requirement to a NodeTemplate
|
void |
addConstrainedProperty(String propertyName,
Constraint... constraints) |
void |
addProperties(Map<String,Object> properties) |
void |
addProperty(String name,
String value) |
String |
getName() |
String |
getType() |
void |
setHostRequirement(NodeTemplate node) |
void |
setType(NodeType type) |
void |
setType(String type) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic NodeTemplate(String name)
public String getName()
public String getType()
public void setType(String type)
public void setType(NodeType type)
public void setHostRequirement(NodeTemplate node)
public String addConnectionRequirement(NodeTemplate target, String type, String varName)
public void addConstrainedProperty(String propertyName, Constraint... constraints)
Copyright © 2016. All rights reserved.