com.xebialabs.deployit.plugin.was.ci
Class WasCell
java.lang.Object
com.xebialabs.deployit.BaseConfigurationItem
com.xebialabs.deployit.plugin.was.ci.WasCell
- All Implemented Interfaces:
- java.io.Serializable
@ConfigurationItem(category="middleware",
description="A WebSphere Application Server cell. Is a member of Host on which the deployment manager runs.",
expandable=true)
public class WasCell- extends com.xebialabs.deployit.BaseConfigurationItem
- See Also:
- Serialized Form
| Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem |
label |
| Methods inherited from class com.xebialabs.deployit.BaseConfigurationItem |
equals, getLabel, hashCode, setLabel, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DISABLE_DAEMON
public static final java.lang.String DISABLE_DAEMON
- The system property to set to disable the usage of the wsadmin daemon.
- See Also:
- Constant Field Values
DAEMON_STARTED
private static final java.lang.String DAEMON_STARTED
- See Also:
- Constant Field Values
DAEMON_EXIT_CODE_MARKER
private static final java.lang.String DAEMON_EXIT_CODE_MARKER
- See Also:
- Constant Field Values
DAEMON_END_OF_COMMAND_MARKER
private static final java.lang.String DAEMON_END_OF_COMMAND_MARKER
- See Also:
- Constant Field Values
CONFIG_DIR_NAME
private static final java.lang.String CONFIG_DIR_NAME
- See Also:
- Constant Field Values
PLUGIN_FILENAME
private static final java.lang.String PLUGIN_FILENAME
- See Also:
- Constant Field Values
host
@ConfigurationItemProperty
private com.xebialabs.deployit.ci.Host host
name
@ConfigurationItemProperty(required=true,
label="WebSphere name",
description="Name of the WebSphere cell, e.g. MyCell, WASCell, Cell01")
private java.lang.String name
username
@ConfigurationItemProperty(required=false,
label="Administrative username",
description="Username which is used to login to the WebSphere Cell.")
private java.lang.String username
password
@ConfigurationItemProperty(required=false,
label="Administrative password",
description="Password which is used to login to the WebSphere Cell.",
password=true)
private java.lang.String password
wasHome
@ConfigurationItemProperty(required=true,
label="Deployment manager profile path",
description="Path of the WebSphere deployment manager profile.",
size=LARGE)
private java.lang.String wasHome
version
@ConfigurationItemProperty(required=true,
label="WAS version",
description="Version of WebSphere Application Server.")
private WasVersion version
logger
private static org.apache.log4j.Logger logger
WasCell
public WasCell()
getWsadminPath
public java.lang.String getWsadminPath()
getConfigDirPath
public java.lang.String getConfigDirPath()
getPluginFilePath
public java.lang.String getPluginFilePath()
connectToAdminHost
public com.xebialabs.deployit.hostsession.HostSession connectToAdminHost()
executeWsadminJythonScript
public int executeWsadminJythonScript(com.xebialabs.deployit.StepExecutionContext ctx,
com.xebialabs.deployit.hostsession.HostSession cellHostSession,
java.lang.String scriptPath,
java.lang.String... args)
executeWsadminJythonScriptWithDaemon
public int executeWsadminJythonScriptWithDaemon(com.xebialabs.deployit.StepExecutionContext ctx,
com.xebialabs.deployit.hostsession.HostSession cellHostSession,
java.lang.String scriptPath,
java.lang.String... args)
getWsadminDaemonCommandExecution
private com.xebialabs.deployit.hostsession.CommandExecution getWsadminDaemonCommandExecution(com.xebialabs.deployit.StepExecutionContext context)
executeWsadminJythonScriptDirectly
public int executeWsadminJythonScriptDirectly(com.xebialabs.deployit.hostsession.CommandExecutionCallbackHandler handler,
com.xebialabs.deployit.hostsession.HostSession s,
java.lang.String scriptPath,
java.lang.String... args)
getHost
public com.xebialabs.deployit.ci.Host getHost()
setHost
public void setHost(com.xebialabs.deployit.ci.Host host)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getWasHome
public java.lang.String getWasHome()
setWasHome
public void setWasHome(java.lang.String wasHome)
getVersion
public WasVersion getVersion()
setVersion
public void setVersion(WasVersion version)
Copyright © 2010. All Rights Reserved.