public class WebTier extends Object implements oracle.fmwplatform.envspec.common.EntityWithId, oracle.fmwplatform.envspec.common.ContainerAware<Topology>, oracle.fmwplatform.envspec.common.ParentContainerWithVariables
| Modifier and Type | Class and Description |
|---|---|
static class |
WebTier.Type |
| Constructor and Description |
|---|
WebTier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllVirtualHosts(List<VirtualHost> virtualHosts)
Add a VirtualHost object to the list of VirtualHosts part of this WebTier object
|
boolean |
addVirtualHost(VirtualHost virtualHost)
Add a VirtualHost object to the list of VirtualHosts part of this WebTier object
|
String |
getAddress()
Returns the address of this WebTier object
|
String |
getAdminCredentialRef()
Returns the credential reference mapped to this WebTier object
|
Map<String,String> |
getEffectiveVariables()
Returns the derived map of variables for this element.
|
String |
getId()
Returns the id used to reference this WebTier.
|
String |
getName()
Returns the name of this WebTier object
|
Topology |
getParent()
Returns the object that contains this entity
|
WebTier.Type |
getType()
Returns the type of this WebTier object
|
String |
getVariableValue(String key)
Returns the variable value assigned to the specified key.
|
List<VirtualHost> |
getVirtualHosts()
Returns the list of VirtualHosts part of this WebTier object
|
WebTier |
setAddress(String address)
Set the address of this WebTier object
|
WebTier |
setAdminCredentialRef(String adminCredentialRef)
Set the admin credential reference for this WebTier object
|
WebTier |
setId(String id)
Sets the id that is used when referencing this WebTier.
|
WebTier |
setName(String name)
Sets the name of this WebTier object
|
WebTier |
setParent(Topology containerTopology)
Sets the container object that contains this.
|
WebTier |
setType(WebTier.Type type)
Set the type of the WebTier.
|
WebTier |
setVirtualHosts(List<VirtualHost> virtualHosts)
Set a list of VirtualHosts
|
String |
substitute(String text)
Replaces substitution keys in the specified text with their corresponding values.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public Topology getParent()
oracle.fmwplatform.envspec.common.ContainerAwaregetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>public WebTier setParent(Topology containerTopology)
oracle.fmwplatform.envspec.common.ContainerAwaresetParent in interface oracle.fmwplatform.envspec.common.ContainerAware<Topology>containerTopology - the parent containerpublic String getAdminCredentialRef()
public WebTier setAdminCredentialRef(String adminCredentialRef)
adminCredentialRef - of this objectpublic List<VirtualHost> getVirtualHosts()
public WebTier setVirtualHosts(List<VirtualHost> virtualHosts)
virtualHosts - list of VirtualHost objectspublic boolean addVirtualHost(VirtualHost virtualHost) throws IllegalArgumentException
virtualHost - VirtualHost object to addtrue if the list of virtualHosts changed as a result of this callIllegalArgumentExceptionpublic boolean addAllVirtualHosts(List<VirtualHost> virtualHosts) throws IllegalArgumentException
virtualHosts - VirtualHost object to addtrue if the list of virtualHosts changed as a result of this callIllegalArgumentExceptionpublic WebTier.Type getType()
public WebTier setType(WebTier.Type type)
type - of webtierpublic String getAddress()
public WebTier setAddress(String address)
address - string to setpublic String getName()
public WebTier setName(String name)
name - name to set to this WebTier objectpublic String getId()
getId in interface oracle.fmwplatform.envspec.common.EntityWithIdpublic WebTier setId(String id)
setId in interface oracle.fmwplatform.envspec.common.EntityWithIdid - the id that is used when referencing this WebTierpublic Map<String,String> getEffectiveVariables() throws FMWEnvSpecException
getEffectiveVariables in interface oracle.fmwplatform.envspec.common.ParentContainerWithVariablesFMWEnvSpecException - if an error occurspublic String getVariableValue(String key)
getVariableValue in interface oracle.fmwplatform.envspec.common.Substitutablekey - the key of the variable to be checkedpublic String substitute(String text)
substitute in interface oracle.fmwplatform.envspec.common.Substitutabletext - the original textpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()