com.xebialabs.deployit.plugin.jbossas.ci
Class JbossasServer

java.lang.Object
  extended by com.xebialabs.deployit.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.jbossas.ci.JbossasServer
All Implemented Interfaces:
java.io.Serializable

@ConfigurationItem(description="JBoss Application Server instance",
                   targetForMappingTypes=com.xebialabs.deployit.ci.artifact.mapping.EarMapping.class)
public class JbossasServer
extends com.xebialabs.deployit.BaseConfigurationItem

A JBoss Application Server

See Also:
Serialized Form

Field Summary
static int DEPLOYMENT_COMPLETION_WAIT_TIME_MILLIS
           
private  java.lang.String home
           
private  com.xebialabs.deployit.ci.Host host
           
private  java.lang.String name
           
private  java.lang.String restartCommand
           
private  JbossasVersion version
           
 
Fields inherited from class com.xebialabs.deployit.BaseConfigurationItem
label
 
Constructor Summary
JbossasServer()
           
 
Method Summary
 com.xebialabs.deployit.hostsession.HostSession connectToAdminHost()
           
 java.lang.String getDeployDirPath()
           
 java.lang.String getHome()
           
 com.xebialabs.deployit.ci.Host getHost()
           
 java.lang.String getName()
           
 java.lang.String getRestartCommand()
           
 java.lang.String getTmpDirPath()
           
 JbossasVersion getVersion()
           
 void setHome(java.lang.String home)
           
 void setHost(com.xebialabs.deployit.ci.Host host)
           
 void setName(java.lang.String name)
           
 void setRestartCommand(java.lang.String restartCommand)
           
 void setVersion(JbossasVersion version)
           
 
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
 

Field Detail

DEPLOYMENT_COMPLETION_WAIT_TIME_MILLIS

public static final int DEPLOYMENT_COMPLETION_WAIT_TIME_MILLIS
See Also:
Constant Field Values

version

@ConfigurationItemProperty(required=true,
                           label="JBoss version",
                           description="Version of the JBoss serve.r")
private JbossasVersion version

host

@ConfigurationItemProperty(required=true,
                           label="JBoss server host",
                           description="Host on which the JBoss server is running.")
private com.xebialabs.deployit.ci.Host host

home

@ConfigurationItemProperty(required=true,
                           label="JBoss installation location",
                           description="Place where JBoss is installed such as /usr/local/jboss-5.1.0.GA.",
                           size=LARGE)
private java.lang.String home

name

@ConfigurationItemProperty(required=true,
                           label="JBoss instance name",
                           description="Name of the JBoss server instance, e.g. default or minimal.")
private java.lang.String name

restartCommand

@ConfigurationItemProperty(required=false,
                           label="JBoss restart command",
                           description="Command that should be executed to restart the JBoss server.",
                           size=LARGE)
private java.lang.String restartCommand
Constructor Detail

JbossasServer

public JbossasServer()
Method Detail

getDeployDirPath

public java.lang.String getDeployDirPath()

getTmpDirPath

public java.lang.String getTmpDirPath()

connectToAdminHost

public com.xebialabs.deployit.hostsession.HostSession connectToAdminHost()

getVersion

public JbossasVersion getVersion()

setVersion

public void setVersion(JbossasVersion version)

getHost

public com.xebialabs.deployit.ci.Host getHost()

setHost

public void setHost(com.xebialabs.deployit.ci.Host host)

getHome

public java.lang.String getHome()

setHome

public void setHome(java.lang.String home)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getRestartCommand

public java.lang.String getRestartCommand()

setRestartCommand

public void setRestartCommand(java.lang.String restartCommand)


Copyright © 2010. All Rights Reserved.