public final class Environment extends TenantBasedEntity<Environment.Blueprint,Environment.Update>
Note that the environment does not have a dedicated blueprint type (i.e. data required to create a new environment
in some context), because the only data needed to create a new environment is its ID, which can easily be modelled
by a String.
| Modifier and Type | Class and Description |
|---|---|
static class |
Environment.Blueprint |
static class |
Environment.Update |
AbstractElement.Updater<U extends AbstractElement.Update,E extends AbstractElement<?,U>>ID_PROPERTY, properties| Constructor and Description |
|---|
Environment(CanonicalPath path) |
Environment(CanonicalPath path,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
AbstractElement.Updater<Environment.Update,Environment> |
update() |
getTenantIdappendToString, toStringequals, getId, getPath, getProperties, hashCode, valueOrDefaultpublic Environment(CanonicalPath path)
public Environment(CanonicalPath path, Map<String,Object> properties)
public AbstractElement.Updater<Environment.Update,Environment> update()
update in class AbstractElement<Environment.Blueprint,Environment.Update>public <R,P> R accept(ElementVisitor<R,P> visitor, P parameter)
AbstractElementaccept in class AbstractElement<Environment.Blueprint,Environment.Update>R - the return typeP - the type of the parametervisitor - the visitor to visit this entityparameter - the parameter to pass on to the visitorCopyright © 2015 Red Hat, Inc.. All rights reserved.