Class BaseCell
- java.lang.Object
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
-
- 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.overthere.HostContainer,com.xebialabs.deployit.plugin.python.PythonManagedContainer,com.xebialabs.deployit.plugin.python.PythonManagingContainer,Cell,HealthPolicyMembershipContainer,WasContainer,WasCustomPropertyContainer,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", inspectable=true) public abstract class BaseCell extends com.xebialabs.deployit.plugin.api.udm.base.BaseContainer implements Cell- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleanperformOnlyTopologyDiscoverybooleanskipTopologyDiscovery-
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
-
-
Constructor Summary
Constructors Constructor Description BaseCell()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappendTypeToName()java.util.List<com.xebialabs.deployit.plugin.api.flow.Step>controlTaskDispatch(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> args)CellgetCell()com.xebialabs.deployit.plugin.overthere.HostgetCellHost()Returns the host the cell is administered on.java.lang.StringgetConfigDirName()java.lang.StringgetConfigDirPath()Returns the path of the "config" directory in the WAS installation.java.util.Set<java.lang.String>getDeployedsToDiscover()com.xebialabs.deployit.plugin.overthere.HostgetHost()java.lang.StringgetHostname()java.lang.StringgetInspectScript()java.util.List<java.lang.String>getLibraryScripts()com.xebialabs.deployit.plugin.python.PythonManagingContainergetManagingContainer()java.lang.StringgetPassword()Returns the password which is used to login to the WebSphere deployment managerjava.lang.StringgetPluginFilePath()Returns the path to the plugin config file in the WAS installation.intgetPort()Returns the administrative port.java.lang.StringgetRuntimePath()com.xebialabs.overthere.CmdLinegetScriptCommandLine(com.xebialabs.overthere.OverthereFile pyFile)java.lang.StringgetServerStatusPath()Returns the path to the serverStatus command in the WAS installation.java.lang.StringgetStartServerPath()Returns the path to the startServer command in the WAS installation.java.lang.StringgetStopServerPath()Returns the path to the stopServer command in the WAS installation.java.lang.StringgetStringEncoding()java.lang.StringgetUsername()Returns the username which is used to login to the WebSphere deployment managerWasVersiongetVersion()Returns the version of WAS.java.lang.StringgetVersionInfoPath()Returns the path to the versionInfo command in the WAS installation.java.lang.StringgetWasHome()Returns the profile directory of WAS on the administrative host.java.lang.StringgetWsAdminArgs()java.lang.StringgetWsadminPath()Returns the path to the wsadmin command in the WAS installation.voidinspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)booleanrunWithDaemon()voidsetAppendTypeToName(boolean appendTypeToName)voidsetConfigDirName(java.lang.String configDirName)voidsetDeployedsToDiscover(java.util.Set<java.lang.String> deployedsToDiscover)voidsetHost(com.xebialabs.deployit.plugin.overthere.Host host)voidsetHostname(java.lang.String hostname)voidsetPassword(java.lang.String password)voidsetPort(int port)voidsetRunWithDaemon(boolean runWithDaemon)voidsetStringEncoding(java.lang.String stringEncoding)voidsetUseJython21(boolean useJython21)voidsetUsername(java.lang.String username)voidsetVersion(WasVersion version)Sets the version of WAS.voidsetWasHome(java.lang.String wasHome)voidsetWsadminArgs(java.lang.String wsAdminArgs)voidsetWsadminPath(java.lang.String wsAdminPath)booleanuseJython21()-
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, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, 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.api.udm.ConfigurationItem
get$directoryReference, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty
-
Methods inherited from interface com.xebialabs.deployit.plugin.was.container.WasContainer
getContainmentPath, getNodes, getShortTypeDescription, getWasConfigIdType, getWasTargetType
-
-
-
-
Method Detail
-
getPort
public int getPort()
Description copied from interface:CellReturns the administrative port.
-
setPort
public void setPort(int port)
-
getUsername
public java.lang.String getUsername()
Description copied from interface:CellReturns the username which is used to login to the WebSphere deployment manager- Specified by:
getUsernamein interfaceCell- Returns:
- the username
-
setUsername
public void setUsername(java.lang.String username)
-
getPassword
public java.lang.String getPassword()
Description copied from interface:CellReturns the password which is used to login to the WebSphere deployment manager- Specified by:
getPasswordin interfaceCell- Returns:
- the password
-
setPassword
public void setPassword(java.lang.String password)
-
getWasHome
public java.lang.String getWasHome()
Description copied from interface:CellReturns the profile directory of WAS on the administrative host.- Specified by:
getWasHomein interfaceCell- Returns:
- the profile directory
-
setWasHome
public void setWasHome(java.lang.String wasHome)
-
getVersion
public WasVersion getVersion()
Description copied from interface:CellReturns the version of WAS.- Specified by:
getVersionin interfaceCell- Returns:
- the version.
-
setVersion
public void setVersion(WasVersion version)
Description copied from interface:CellSets the version of WAS.- Specified by:
setVersionin interfaceCell- Parameters:
version- the version.
-
getCell
public Cell getCell()
- Specified by:
getCellin interfaceWasContainer
-
getCellHost
public com.xebialabs.deployit.plugin.overthere.Host getCellHost()
Description copied from interface:CellReturns the host the cell is administered on.- Specified by:
getCellHostin interfaceCell- Returns:
- the host
-
getHost
public com.xebialabs.deployit.plugin.overthere.Host getHost()
- Specified by:
getHostin interfacecom.xebialabs.deployit.plugin.overthere.HostContainer- Specified by:
getHostin interfacecom.xebialabs.deployit.plugin.python.PythonManagingContainer
-
setHost
public void setHost(com.xebialabs.deployit.plugin.overthere.Host host)
-
getHostname
public java.lang.String getHostname()
-
setHostname
public void setHostname(java.lang.String hostname)
-
getConfigDirName
public java.lang.String getConfigDirName()
-
setConfigDirName
public void setConfigDirName(java.lang.String configDirName)
-
getConfigDirPath
public java.lang.String getConfigDirPath()
Description copied from interface:CellReturns the path of the "config" directory in the WAS installation.- Specified by:
getConfigDirPathin interfaceCell- Returns:
- the path of the "config" directory
-
getPluginFilePath
public java.lang.String getPluginFilePath()
Description copied from interface:CellReturns the path to the plugin config file in the WAS installation.- Specified by:
getPluginFilePathin interfaceCell- Returns:
- the path to the plugin config file
-
getWsadminPath
public java.lang.String getWsadminPath()
Description copied from interface:CellReturns the path to the wsadmin command in the WAS installation.- Specified by:
getWsadminPathin interfaceCell- Returns:
- the path to the wsadmin command
-
getWsAdminArgs
public java.lang.String getWsAdminArgs()
-
setWsadminPath
public void setWsadminPath(java.lang.String wsAdminPath)
-
setWsadminArgs
public void setWsadminArgs(java.lang.String wsAdminArgs)
-
getVersionInfoPath
public java.lang.String getVersionInfoPath()
Description copied from interface:CellReturns the path to the versionInfo command in the WAS installation.- Specified by:
getVersionInfoPathin interfaceCell- Returns:
- the path to the versionInfo command
-
getStartServerPath
public java.lang.String getStartServerPath()
Description copied from interface:CellReturns the path to the startServer command in the WAS installation.- Specified by:
getStartServerPathin interfaceCell- Returns:
- the path to the startServer command
-
getStopServerPath
public java.lang.String getStopServerPath()
Description copied from interface:CellReturns the path to the stopServer command in the WAS installation.- Specified by:
getStopServerPathin interfaceCell- Returns:
- the path to the stopServer command
-
getServerStatusPath
public java.lang.String getServerStatusPath()
Description copied from interface:CellReturns the path to the serverStatus command in the WAS installation.- Specified by:
getServerStatusPathin interfaceCell- Returns:
- the path to the serverStatus command
-
useJython21
public boolean useJython21()
-
setUseJython21
public void setUseJython21(boolean useJython21)
-
runWithDaemon
public boolean runWithDaemon()
- Specified by:
runWithDaemonin interfacecom.xebialabs.deployit.plugin.python.PythonManagingContainer
-
setRunWithDaemon
public void setRunWithDaemon(boolean runWithDaemon)
-
getLibraryScripts
public java.util.List<java.lang.String> getLibraryScripts()
-
getManagingContainer
public com.xebialabs.deployit.plugin.python.PythonManagingContainer getManagingContainer()
- Specified by:
getManagingContainerin interfacecom.xebialabs.deployit.plugin.python.PythonManagedContainer
-
getScriptCommandLine
public com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile pyFile)
- Specified by:
getScriptCommandLinein interfacecom.xebialabs.deployit.plugin.python.PythonManagingContainer
-
getDeployedsToDiscover
public java.util.Set<java.lang.String> getDeployedsToDiscover()
-
setDeployedsToDiscover
public void setDeployedsToDiscover(java.util.Set<java.lang.String> deployedsToDiscover)
-
getRuntimePath
public java.lang.String getRuntimePath()
- Specified by:
getRuntimePathin interfacecom.xebialabs.deployit.plugin.python.PythonManagingContainer
-
getInspectScript
public java.lang.String getInspectScript()
-
controlTaskDispatch
public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> args)
-
inspect
public void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)
-
appendTypeToName
public boolean appendTypeToName()
-
setAppendTypeToName
public void setAppendTypeToName(boolean appendTypeToName)
-
getStringEncoding
public java.lang.String getStringEncoding()
-
setStringEncoding
public void setStringEncoding(java.lang.String stringEncoding)
-
-