org.ow2.jonas.ant
Class JOnASTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.BootstrapTask
              extended by org.ow2.jonas.ant.JOnASTask
Direct Known Subclasses:
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.
 void setMode(String mode)
          Sets the mode for the server (start or stop).
 
Methods inherited from class org.ow2.jonas.ant.BootstrapTask
createClasspath, getBootstraptask, getBootstraptask, getDomainName, getJonasRoot, getMaven2Repository, 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.

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

setMode

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

Parameters:
mode - The mode to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.