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, ID_PROPERTY, properties| Constructor and Description |
|---|
Environment(String tenantId,
String id) |
Environment(String tenantId,
String id,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(EntityVisitor<R,P> visitor,
P parameter)
Accepts the provided visitor.
|
AbstractElement.Updater<Environment.Update,Environment> |
update() |
appendToString, equals, getTenantId, hashCodegetId, getProperties, valueOrDefaultpublic AbstractElement.Updater<Environment.Update,Environment> update()
update in class AbstractElement<Environment.Blueprint,Environment.Update>public <R,P> R accept(EntityVisitor<R,P> visitor, P parameter)
Entityaccept in class Entity<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.