org.objectweb.jonas.ant
Class JOnASTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.objectweb.jonas.ant.BootstrapTask
              extended byorg.objectweb.jonas.ant.JOnASTask
All Implemented Interfaces:
java.lang.Cloneable

public class JOnASTask
extends BootstrapTask

Uses to start/stop/... JOnAS

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
JOnASTask()
           
 
Method Summary
 void execute()
          Run the task
 java.lang.String getMode()
           
 void setMode(java.lang.String mode)
          Sets the mode for the server (start or stop)
 
Methods inherited from class org.objectweb.jonas.ant.BootstrapTask
createClasspath, getBootstraptask, getCatalinaHome, getDomainName, getJettyHome, getJonasRoot, getServerName, getTaskName, setCatalinaHome, setClasspath, setDomainName, setJettyHome, setJonasbase, setJonasRoot, setJvmopts, setServerName, setTaskName
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASTask

public JOnASTask()
Method Detail

execute

public void execute()
Run the task

See Also:
Task.execute()

getMode

public java.lang.String getMode()
Returns:
the mode.

setMode

public void setMode(java.lang.String mode)
Sets the mode for the server (start or stop)

Parameters:
mode - The mode to set.