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

public class JOnASTask
extends BootstrapTask

Uses to start/stop/... JOnAS

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
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
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, 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.