Class 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
      boolean performOnlyTopologyDiscovery  
      boolean skipTopologyDiscovery  
      • 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
      • Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable

        TAGS_FIELD
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseCell()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean appendTypeToName()  
      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)  
      Cell getCell()  
      com.xebialabs.deployit.plugin.overthere.Host getCellHost()
      Returns the host the cell is administered on.
      java.lang.String getConfigDirName()  
      java.lang.String getConfigDirPath()
      Returns the path of the "config" directory in the WAS installation.
      java.util.Set<java.lang.String> getDeployedsToDiscover()  
      com.xebialabs.deployit.plugin.overthere.Host getHost()  
      java.lang.String getHostname()  
      java.lang.String getInspectScript()  
      java.util.List<java.lang.String> getLibraryScripts()  
      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 getStringEncoding()  
      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 getWsAdminArgs()  
      java.lang.String getWsadminPath()
      Returns the path to the wsadmin command in the WAS installation.
      void inspect​(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)  
      boolean runWithDaemon()  
      void setAppendTypeToName​(boolean appendTypeToName)  
      void setConfigDirName​(java.lang.String configDirName)  
      void setDeployedsToDiscover​(java.util.Set<java.lang.String> deployedsToDiscover)  
      void setHost​(com.xebialabs.deployit.plugin.overthere.Host host)  
      void setHostname​(java.lang.String hostname)  
      void setPassword​(java.lang.String password)  
      void setPort​(int port)  
      void setRunWithDaemon​(boolean runWithDaemon)  
      void setStringEncoding​(java.lang.String stringEncoding)  
      void setUseJython21​(boolean useJython21)  
      void setUsername​(java.lang.String username)  
      void setVersion​(WasVersion version)
      Sets the version of WAS.
      void setWasHome​(java.lang.String wasHome)  
      void setWsadminArgs​(java.lang.String wsAdminArgs)  
      void setWsadminPath​(java.lang.String wsAdminPath)  
      boolean useJython21()  
      • 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.api.udm.Taggable

        getTags, setTags
    • Field Detail

      • skipTopologyDiscovery

        public boolean skipTopologyDiscovery
      • performOnlyTopologyDiscovery

        public boolean performOnlyTopologyDiscovery
    • 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.
      • 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.overthere.HostContainer
        Specified by:
        getHost in interface com.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: 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
      • 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: 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
      • useJython21

        public boolean useJython21()
      • setUseJython21

        public void setUseJython21​(boolean useJython21)
      • runWithDaemon

        public boolean runWithDaemon()
        Specified by:
        runWithDaemon in interface com.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:
        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
      • 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:
        getRuntimePath in interface com.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)