com.xebialabs.deployit.plugin.was.ci
Class WasCluster
java.lang.Object
com.xebialabs.deployit.BaseConfigurationItem
com.xebialabs.deployit.plugin.was.ci.WasTarget
com.xebialabs.deployit.plugin.was.ci.WasCluster
- All Implemented Interfaces:
- java.io.Serializable
@ConfigurationItem(category="middleware",
description="A WebSphere cluster. Is a member of the WebSphereCell to which it belongs.",
targetForMappingTypes=com.xebialabs.deployit.ci.artifact.mapping.EarMapping.class)
public class WasCluster- extends WasTarget
- 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 |
cell
@ConfigurationItemProperty(required=true,
label="WebSphere administrative cell")
private WasCell cell
nodes
@ConfigurationItemProperty(label="WebSphere nodes")
private java.util.Set<WasNode> nodes
name
@ConfigurationItemProperty(required=true,
label="WebSphere name",
description="Name of the WebSphere cluster, e.g. cluster1")
private java.lang.String name
numberOfClusterMembers
@ConfigurationItemProperty(required=true,
label="# of cluster members",
description="Number of members (servers participating in this cluster) per WebSphere node, change this field to add or remove members (#servers).")
private int numberOfClusterMembers
startOfBootstrapPortNumberRange
@ConfigurationItemProperty(required=false,
label="Start of bootstrap port # range",
description="The first portNumber to be assigned to the BOOTSTRAP_ADDRESS of servers in this cluster. If this field is empty, WebSphere will select this value.")
private int startOfBootstrapPortNumberRange
startOfSoapConnectorPortNumberRange
@ConfigurationItemProperty(required=false,
label="Start of SOAP connector port # range",
description="The first portNumber to be assigned to the SOAP_CONNECTOR_ADDRESS of servers in this cluster. If this field is empty, WebSphere will select this value.")
private int startOfSoapConnectorPortNumberRange
classpath
@ConfigurationItemProperty(required=false,
label="Classpath",
description="Classpath for this cluster.",
size=LARGE,
category="JVM")
private java.lang.String classpath
bootClasspath
@ConfigurationItemProperty(required=false,
label="Boot classpath",
description="Boot classpath for this cluster.",
size=LARGE,
category="JVM")
private java.lang.String bootClasspath
initHeapSize
@ConfigurationItemProperty(required=false,
label="Initial heap size",
description="Initial heap size to be allocated to the JVM (in megabytes).",
size=SMALL,
category="JVM")
private int initHeapSize
maxHeapSize
@ConfigurationItemProperty(required=false,
label="Maximum heap size",
description="Maximum heap size to be allocated to the JVM (in megabytes).",
size=SMALL,
category="JVM")
private int maxHeapSize
jvmArguments
@ConfigurationItemProperty(required=false,
label="JVM arguments",
description="Generic JVM arguments.",
size=LARGE,
category="JVM")
private java.lang.String jvmArguments
disableJit
@ConfigurationItemProperty(required=false,
label="Disable JIT",
description="Disable just-in-time compiler.",
category="JVM")
private boolean disableJit
applicationClassLoaderPolicyAndMode
@ConfigurationItemProperty(required=false,
label="Classloader policy and mode",
description="Server-wide application classloader policy and mode",
category="JVM")
private WasClassLoaderPolicyAndMode applicationClassLoaderPolicyAndMode
workingDir
@ConfigurationItemProperty(required=false,
label="Working directory",
description="Working directory of started process.",
size=LARGE,
category="JVM")
private java.lang.String workingDir
umask
@ConfigurationItemProperty(required=false,
label="Unix umask",
description="Umask of started process.",
category="JVM")
private java.lang.String umask
stdOut
@ConfigurationItemProperty(required=false,
label="Stdout logfile prefix",
description="Prefix of the path to the stdout log file. Example; /data/waslogs/stdout_",
size=LARGE,
category="Logging")
private java.lang.String stdOut
stdErr
@ConfigurationItemProperty(required=false,
label="Stderr logfile prefix",
description="Prefix of the path to the stderr log file. Example; /data/waslogs/stderr_",
size=LARGE,
category="Logging")
private java.lang.String stdErr
jvmStdOut
@ConfigurationItemProperty(required=false,
label="JVM stdout logfile prefix",
description="Prefix of the path to the JVM stdout log file. Example; /data/waslogs/jvmstdout_",
size=LARGE,
category="Logging")
private java.lang.String jvmStdOut
jvmStdErr
@ConfigurationItemProperty(required=false,
label="JVM stderr logfile prefix",
description="Prefix of the path to the JVM stderr log file. Example; /data/waslogs/jvmstderr_",
size=LARGE,
category="Logging")
private java.lang.String jvmStdErr
servletCaching
@ConfigurationItemProperty(required=false,
label="Enable servlet caching",
category="Web container")
private boolean servletCaching
sessionTimeout
@ConfigurationItemProperty(required=false,
label="Session timeout",
description="HTTP session timeout in minutes",
category="Web container")
private int sessionTimeout
maximumSessionsInMemory
@ConfigurationItemProperty(required=false,
label="Max # of sessions in memory",
description="Maximum # of HTTP sessions in memory",
category="Web container")
private int maximumSessionsInMemory
enableSessionCookies
@ConfigurationItemProperty(required=false,
label="Enable session cookies",
category="Web container")
private boolean enableSessionCookies
cookieName
@ConfigurationItemProperty(required=false,
label="Session cookie name",
category="Web container")
private java.lang.String cookieName
cookieDomain
@ConfigurationItemProperty(required=false,
label="Session cookie domain",
category="Web container")
private java.lang.String cookieDomain
cookiePath
@ConfigurationItemProperty(required=false,
label="Session cookie path",
category="Web container")
private java.lang.String cookiePath
WasCluster
public WasCluster()
getCell
public WasCell getCell()
- Specified by:
getCell in class WasTarget
setCell
public void setCell(WasCell cell)
getNodes
public java.util.Set<WasNode> getNodes()
- Specified by:
getNodes in class WasTarget
setNodes
public void setNodes(java.util.Set<WasNode> nodes)
getLogPathForMember
public static java.lang.String getLogPathForMember(java.lang.String memberServerName,
java.lang.String logPrefix)
getServerNamesPerNode
public java.util.Map<WasNode,java.util.List<java.lang.String>> getServerNamesPerNode()
getMemberNamePrefix
public java.lang.String getMemberNamePrefix(java.lang.String nodeName)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getNumberOfClusterMembers
public int getNumberOfClusterMembers()
setNumberOfClusterMembers
public void setNumberOfClusterMembers(int numberOfClusterMembers)
getStartOfBootstrapPortNumberRange
public int getStartOfBootstrapPortNumberRange()
setStartOfBootstrapPortNumberRange
public void setStartOfBootstrapPortNumberRange(int startOfBootstrapPortNumberRange)
getStartOfSoapConnectorPortNumberRange
public int getStartOfSoapConnectorPortNumberRange()
setStartOfSoapConnectorPortNumberRange
public void setStartOfSoapConnectorPortNumberRange(int startOfSoapConnectorPortNumberRange)
getServletCaching
public boolean getServletCaching()
setServletCaching
public void setServletCaching(boolean servletCaching)
getSessionTimeout
public int getSessionTimeout()
setSessionTimeout
public void setSessionTimeout(int sessionTimeout)
getMaximumSessionsInMemory
public int getMaximumSessionsInMemory()
setMaximumSessionsInMemory
public void setMaximumSessionsInMemory(int maximumSessionsInMemory)
getEnableSessionCookies
public boolean getEnableSessionCookies()
setEnableSessionCookies
public void setEnableSessionCookies(boolean enableCookies)
getCookieName
public java.lang.String getCookieName()
setCookieName
public void setCookieName(java.lang.String cookieName)
getCookieDomain
public java.lang.String getCookieDomain()
setCookieDomain
public void setCookieDomain(java.lang.String cookieDomain)
getCookiePath
public java.lang.String getCookiePath()
setCookiePath
public void setCookiePath(java.lang.String cookiePath)
getClasspath
public java.lang.String getClasspath()
setClasspath
public void setClasspath(java.lang.String classpath)
getBootClasspath
public java.lang.String getBootClasspath()
setBootClasspath
public void setBootClasspath(java.lang.String bootClasspath)
getInitHeapSize
public int getInitHeapSize()
setInitHeapSize
public void setInitHeapSize(int initHeapSize)
getMaxHeapSize
public int getMaxHeapSize()
setMaxHeapSize
public void setMaxHeapSize(int maxHeapSize)
getStdOut
public java.lang.String getStdOut()
setStdOut
public void setStdOut(java.lang.String stdOut)
getStdErr
public java.lang.String getStdErr()
setStdErr
public void setStdErr(java.lang.String stdErr)
getJvmStdOut
public java.lang.String getJvmStdOut()
setJvmStdOut
public void setJvmStdOut(java.lang.String jvmStdOut)
getJvmStdErr
public java.lang.String getJvmStdErr()
setJvmStdErr
public void setJvmStdErr(java.lang.String jvmStdErr)
getApplicationClassLoaderPolicyAndMode
public WasClassLoaderPolicyAndMode getApplicationClassLoaderPolicyAndMode()
setApplicationClassLoaderPolicyAndMode
public void setApplicationClassLoaderPolicyAndMode(WasClassLoaderPolicyAndMode applicationClassLoaderPolicyAndMode)
getJvmArguments
public java.lang.String getJvmArguments()
setJvmArguments
public void setJvmArguments(java.lang.String jvmArguments)
getDisableJit
public boolean getDisableJit()
setDisableJit
public void setDisableJit(boolean disableJit)
getWorkingDir
public java.lang.String getWorkingDir()
setWorkingDir
public void setWorkingDir(java.lang.String workingDir)
getUmask
public java.lang.String getUmask()
setUmask
public void setUmask(java.lang.String umask)
Copyright © 2010. All Rights Reserved.