org.objectweb.jonas.ant
Class JOnASTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.objectweb.jonas.ant.BootstrapTask
              extended by org.objectweb.jonas.ant.JOnASTask
All Implemented Interfaces:
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
 String getMode()
           
 void setMode(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

Overrides:
execute in class org.apache.tools.ant.Task
See Also:
Task.execute()

getMode

public String getMode()
Returns:
the mode.

setMode

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

Parameters:
mode - The mode to set.


Copyright © 2007 OW2 Consortium. All Rights Reserved.