public interface Environment extends Resource
deployment
and can have
multiple OCS hosts
.
If you have access to an OCS environment resource, the resource can be adapted to an environment.Modifier and Type | Interface and Description |
---|---|
static class |
Environment.Properties
Environment properties.
|
RESOURCE_TYPE_NON_EXISTING
Modifier and Type | Method and Description |
---|---|
Deployment |
getDeployment()
Gives access to the OCS deployment this environment belongs to.
|
String |
getDescription()
Gives access to the environment description.
|
Host |
getHost(String hostName)
Get the host according to the given host name.
|
List<Host> |
getHosts()
Get a listing of the hosts assigned to this environment.
|
EnvironmentStatus |
getStatus()
Gives access to the status information of this environment.
|
String |
getTitle()
Gives access to the environment title.
|
getChild, getChildren, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
String getTitle()
String getDescription()
List<Host> getHosts()
hosts
or empty list if this environment has no hosts.Host getHost(String hostName)
hostName
- The name of the host to get.host
or null
if the environment has no host with
the given name.Deployment getDeployment()
deployment
this environment belongs to.EnvironmentStatus getStatus()
status
of this environment."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"