com.xebialabs.deployit.plugin.was.container
Class BaseCell

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
          extended by com.xebialabs.deployit.plugin.was.container.BaseCell
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Container, com.xebialabs.deployit.plugin.api.udm.Taggable, com.xebialabs.deployit.plugin.python.PythonManagedContainer, com.xebialabs.deployit.plugin.python.PythonManagingContainer, Cell, WasContainer, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
Direct Known Subclasses:
DeploymentManager, UnmanagedServer

@Metadata(description="Base class for a Webshpere Cell")
public abstract class BaseCell
extends com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
implements Cell, com.xebialabs.deployit.plugin.python.PythonManagedContainer, com.xebialabs.deployit.plugin.python.PythonManagingContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Fields inherited from interface com.xebialabs.deployit.plugin.python.PythonManagingContainer
CONNECT_FROM_DAEMON, CONNECT_FROM_STAND_ALONE_SCRIPT, DISCONNECT_FROM_DAEMON, DISCONNECT_FROM_STAND_ALONE_SCRIPT, RUN_SCRIPT_FROM_DAEMON
 
Constructor Summary
BaseCell()
           
 
Method Summary
 Cell getCell()
           
 com.xebialabs.deployit.plugin.overthere.Host getCellHost()
          Returns the host the cell is administered on.
 java.lang.String getConfigDirPath()
          Returns the path of the "config" directory in the WAS installation.
 com.xebialabs.deployit.plugin.overthere.Host getHost()
           
 com.xebialabs.deployit.plugin.python.PythonManagingContainer getManagingContainer()
           
 java.lang.String getPassword()
          Returns the password which is used to login to the WebSphere deployment manager
 java.lang.String getPluginFilePath()
          Returns the path to the plugin config file in the WAS installation.
 int getPort()
          Returns the administrative port.
 java.lang.String getRuntimePath()
           
 com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile pyFile)
           
 java.lang.String getServerStatusPath()
          Returns the path to the serverStatus command in the WAS installation.
 java.lang.String getStartServerPath()
          Returns the path to the startServer command in the WAS installation.
 java.lang.String getStopServerPath()
          Returns the path to the stopServer command in the WAS installation.
 java.lang.String getUsername()
          Returns the username which is used to login to the WebSphere deployment manager
 WasVersion getVersion()
          Returns the version of WAS.
 java.lang.String getVersionInfoPath()
          Returns the path to the versionInfo command in the WAS installation.
 java.lang.String getWasHome()
          Returns the profile directory of WAS on the administrative host.
 java.lang.String getWsadminPath()
          Returns the path to the wsadmin command in the WAS installation.
 void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionPlanningContext ctx)
           
 boolean runWithDaemon()
           
 void setHost(com.xebialabs.deployit.plugin.overthere.Host host)
           
 void setPassword(java.lang.String password)
           
 void setPort(int port)
           
 void setRunWithDaemon(boolean runWithDaemon)
           
 void setUsername(java.lang.String username)
           
 void setVersion(WasVersion version)
          Sets the version of WAS.
 void setWasHome(java.lang.String wasHome)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
getTags, setTags
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.was.container.Cell
getCellName
 
Methods inherited from interface com.xebialabs.deployit.plugin.was.container.WasContainer
getContainmentPath, getNodes, getShortTypeDescription, getWasConfigIdType, getWasTargetType
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
getTags, setTags
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Constructor Detail

BaseCell

public BaseCell()
Method Detail

getPort

public int getPort()
Description copied from interface: Cell
Returns the administrative port.

Specified by:
getPort in interface Cell
Returns:
the port

setPort

public void setPort(int port)

getUsername

public java.lang.String getUsername()
Description copied from interface: Cell
Returns the username which is used to login to the WebSphere deployment manager

Specified by:
getUsername in interface Cell
Returns:
the username

setUsername

public void setUsername(java.lang.String username)

getPassword

public java.lang.String getPassword()
Description copied from interface: Cell
Returns the password which is used to login to the WebSphere deployment manager

Specified by:
getPassword in interface Cell
Returns:
the password

setPassword

public void setPassword(java.lang.String password)

getWasHome

public java.lang.String getWasHome()
Description copied from interface: Cell
Returns the profile directory of WAS on the administrative host.

Specified by:
getWasHome in interface Cell
Returns:
the profile directory

setWasHome

public void setWasHome(java.lang.String wasHome)

getVersion

public WasVersion getVersion()
Description copied from interface: Cell
Returns the version of WAS.

Specified by:
getVersion in interface Cell
Returns:
the version.

setVersion

public void setVersion(WasVersion version)
Description copied from interface: Cell
Sets the version of WAS.

Specified by:
setVersion in interface Cell
Parameters:
version - the version.

getCell

public Cell getCell()
Specified by:
getCell in interface WasContainer

getCellHost

public com.xebialabs.deployit.plugin.overthere.Host getCellHost()
Description copied from interface: Cell
Returns the host the cell is administered on.

Specified by:
getCellHost in interface Cell
Returns:
the host

getHost

public com.xebialabs.deployit.plugin.overthere.Host getHost()
Specified by:
getHost in interface com.xebialabs.deployit.plugin.python.PythonManagingContainer

setHost

public void setHost(com.xebialabs.deployit.plugin.overthere.Host host)

getConfigDirPath

public java.lang.String getConfigDirPath()
Description copied from interface: Cell
Returns the path of the "config" directory in the WAS installation.

Specified by:
getConfigDirPath in interface Cell
Returns:
the path of the "config" directory

getPluginFilePath

public java.lang.String getPluginFilePath()
Description copied from interface: Cell
Returns the path to the plugin config file in the WAS installation.

Specified by:
getPluginFilePath in interface Cell
Returns:
the path to the plugin config file

getWsadminPath

public java.lang.String getWsadminPath()
Description copied from interface: Cell
Returns the path to the wsadmin command in the WAS installation.

Specified by:
getWsadminPath in interface Cell
Returns:
the path to the wsadmin command

getVersionInfoPath

public java.lang.String getVersionInfoPath()
Description copied from interface: Cell
Returns the path to the versionInfo command in the WAS installation.

Specified by:
getVersionInfoPath in interface Cell
Returns:
the path to the versionInfo command

getStartServerPath

public java.lang.String getStartServerPath()
Description copied from interface: Cell
Returns the path to the startServer command in the WAS installation.

Specified by:
getStartServerPath in interface Cell
Returns:
the path to the startServer command

getStopServerPath

public java.lang.String getStopServerPath()
Description copied from interface: Cell
Returns the path to the stopServer command in the WAS installation.

Specified by:
getStopServerPath in interface Cell
Returns:
the path to the stopServer command

getServerStatusPath

public java.lang.String getServerStatusPath()
Description copied from interface: Cell
Returns the path to the serverStatus command in the WAS installation.

Specified by:
getServerStatusPath in interface Cell
Returns:
the path to the serverStatus command

runWithDaemon

public boolean runWithDaemon()
Specified by:
runWithDaemon in interface com.xebialabs.deployit.plugin.python.PythonManagingContainer

setRunWithDaemon

public void setRunWithDaemon(boolean runWithDaemon)

getManagingContainer

public com.xebialabs.deployit.plugin.python.PythonManagingContainer getManagingContainer()
Specified by:
getManagingContainer in interface com.xebialabs.deployit.plugin.python.PythonManagedContainer

getScriptCommandLine

public com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile pyFile)
Specified by:
getScriptCommandLine in interface com.xebialabs.deployit.plugin.python.PythonManagingContainer

getRuntimePath

public java.lang.String getRuntimePath()
Specified by:
getRuntimePath in interface com.xebialabs.deployit.plugin.python.PythonManagingContainer

inspect

public void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionPlanningContext ctx)