org.ow2.jonas.ant
Class JOnASClusterConfigTaskDeprecated

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.AbstractAntDeprecated
              extended by org.ow2.jonas.ant.JOnASClusterConfigTaskDeprecated
All Implemented Interfaces:
Cloneable

public class JOnASClusterConfigTaskDeprecated
extends AbstractAntDeprecated

Class only used for compatibility with previous version of JOnAS

Author:
Jeremy Cazaux

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
logger
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
JOnASClusterConfigTaskDeprecated()
           
 
Method Summary
 Object createClusterDaemon()
           
 void setArch(String arch)
          Set architecture
 void setCdDir(String cdDir)
          Set the cluster daemon directory
 void setDestDirPrefix(String destDirPrefix)
          Set the destination directory prefix
 void setJonasRoot(File jonasRoot)
          Set the source directory for the replacement
 void setUpdate(boolean onlyUpdate)
          Set if this is only an update or a new JONAS_BASE
 void setWebInstNb(int webInstNb)
          Set the web instances number
 
Methods inherited from class org.ow2.jonas.ant.AbstractAntDeprecated
deprecated
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, 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

JOnASClusterConfigTaskDeprecated

public JOnASClusterConfigTaskDeprecated()
Method Detail

setDestDirPrefix

public void setDestDirPrefix(String destDirPrefix)
                      throws Exception
Set the destination directory prefix

Parameters:
destDirPrefix - the destination directory prefix
Throws:
Exception

setCdDir

public void setCdDir(String cdDir)
              throws Exception
Set the cluster daemon directory

Parameters:
cdDir - the destination directory for the cluster daemon configuration
Throws:
Exception

setJonasRoot

public void setJonasRoot(File jonasRoot)
                  throws Exception
Set the source directory for the replacement

Parameters:
jonasRoot - the source directory
Throws:
Exception

setArch

public void setArch(String arch)
             throws Exception
Set architecture

Parameters:
arch - the architecture
Throws:
Exception

setWebInstNb

public void setWebInstNb(int webInstNb)
                  throws Exception
Set the web instances number

Parameters:
webInstNb - number of web instances
Throws:
Exception

setUpdate

public void setUpdate(boolean onlyUpdate)
               throws Exception
Set if this is only an update or a new JONAS_BASE

Parameters:
onlyUpdate - If true update, else create and then update
Throws:
Exception

createClusterDaemon

public Object createClusterDaemon()
                           throws Exception
Returns:
Throws:
Exception


Copyright © 2013 OW2 Consortium. All Rights Reserved.