org.ow2.jonas.deployment.clusterd.xml
Class Server

java.lang.Object
  extended by org.ow2.jonas.deployment.common.xml.AbsElement
      extended by org.ow2.jonas.deployment.clusterd.xml.Server
All Implemented Interfaces:
Serializable, Element

public class Server
extends AbsElement

Server element

Author:
pelletib
See Also:
Serialized Form

Constructor Summary
Server()
          Constructor
 
Method Summary
 String getAutoBoot()
           
 String getDescription()
           
 String getJavaHome()
           
 String getJonasBase()
           
 String getJonasCmd()
           
 String getJonasRoot()
           
 String getName()
           
 String getXprm()
           
 boolean isAutoBoot()
           
 void setAutoBoot(String autoBoot)
          Set the auto boot for the server
 void setDescription(String description)
           
 void setJavaHome(String javaHome)
           
 void setJonasBase(String jonasBase)
           
 void setJonasCmd(String jonasCmd)
          Set the JOnAS command
 void setJonasRoot(String jonasRoot)
           
 void setName(String name)
           
 void setXprm(String xprm)
          Set the extra parameters
 String toXML(int indent)
          Represents this element by it's XML description.
 
Methods inherited from class org.ow2.jonas.deployment.common.xml.AbsElement
indent, toString, toXML, xmlAttribute, xmlElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Server

public Server()
Constructor

Method Detail

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getJavaHome

public String getJavaHome()
Returns:
Returns the JAVA_HOME dir.

setJavaHome

public void setJavaHome(String javaHome)
Parameters:
javaHome - The JAVA_HOME to set.

getJonasRoot

public String getJonasRoot()
Returns:
Returns the JONAS_ROOT.

setJonasRoot

public void setJonasRoot(String jonasRoot)
Parameters:
jonasRoot - The JONAS_ROOT to set.

getJonasBase

public String getJonasBase()
Returns:
Returns the JONAS_BASE.

setJonasBase

public void setJonasBase(String jonasBase)
Parameters:
jonasBase - The JONAS_BASE to set.

getDescription

public String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Parameters:
description - The description to set.

toXML

public String toXML(int indent)
Represents this element by it's XML description.

Specified by:
toXML in interface Element
Specified by:
toXML in class AbsElement
Parameters:
indent - use this indent for prexifing XML representation.
Returns:
the XML description of this object.

setAutoBoot

public void setAutoBoot(String autoBoot)
Set the auto boot for the server

Parameters:
autoBoot - true if automatic boot is set

getAutoBoot

public String getAutoBoot()
Returns:
true/false

isAutoBoot

public boolean isAutoBoot()
Returns:
true if the auto boot is set

getXprm

public String getXprm()
Returns:
the extra parameters

setXprm

public void setXprm(String xprm)
Set the extra parameters

Parameters:
xprm - extra parameters

getJonasCmd

public String getJonasCmd()
Returns:
JOnAS command

setJonasCmd

public void setJonasCmd(String jonasCmd)
Set the JOnAS command

Parameters:
jonasCmd - user command


Copyright © 2010 OW2 Consortium. All Rights Reserved.