org.ow2.jonas.ant.cluster
Class DeployableCluster

java.lang.Object
  extended by org.ow2.jonas.ant.jonasbase.Tasks
      extended by org.ow2.jonas.ant.cluster.ClusterTasks
          extended by org.ow2.jonas.ant.cluster.DeployableCluster

public class DeployableCluster
extends ClusterTasks

Define MailCluster task

Author:
eyindanga.

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
ARCH_BOTH_WEB_EJB, ARCH_SEPARATED_WEB_EJB
 
Constructor Summary
DeployableCluster()
          Default constructor.
 
Method Summary
 void generatesTasks()
          Generates DeployableTask tasks for each JOnAS's instances
 String getDestDir()
          Get the destination directory.
 String getExtension()
          Get extension of deployables.
 String getSourceDir()
          Get the source directory.
 String getTarget()
          Get the target to be executed.
 String getValues()
          Get deployables.
 void setDestDir(String destDir)
          Set the destination directory.
 void setExtension(String extension)
          Sets deployables extension
 void setSourceDir(String sourceDir)
          Set the source directory.
 void setTarget(String target)
          set the target to be executed.
 void setValues(String values)
          Sets comma separated list of deployables.
 
Methods inherited from class org.ow2.jonas.ant.cluster.ClusterTasks
addClusterTask, getArch, getClusterTasks, getDestDir, getDestDirPrefix, getDestDirSuffixIndFirst, getDestDirSuffixIndLast, getEjbInstNb, getLogInfo, getRootTask, getWebInstNb, log, setArch, setDestDirPrefix, setDestDirSuffixIndFirst, setDestDirSuffixIndLast, setEjbInstNb, setLogInfo, setRootTask, setWebInstNb
 
Methods inherited from class org.ow2.jonas.ant.jonasbase.Tasks
addTask, addTasks, addTasks, getTasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployableCluster

public DeployableCluster()
Default constructor.

Method Detail

getSourceDir

public String getSourceDir()
Get the source directory.

Returns:
the source directory.

setSourceDir

public void setSourceDir(String sourceDir)
Set the source directory.

Parameters:
sourceDir - the source directory.

getDestDir

public String getDestDir()
Get the destination directory.

Returns:
the destination directory.

setDestDir

public void setDestDir(String destDir)
Set the destination directory.

Parameters:
destDir - the destination directory.

getExtension

public String getExtension()
Get extension of deployables.

Returns:
extension of deployables.

getValues

public String getValues()
Get deployables.

Returns:
comma separated list of deployables.

setValues

public void setValues(String values)
Sets comma separated list of deployables.

Parameters:
values - the comma separated list of deployables to set.

setExtension

public void setExtension(String extension)
Sets deployables extension

Parameters:
extension - deployables extension

getTarget

public String getTarget()
Get the target to be executed.

Returns:
the target to be executed.

setTarget

public void setTarget(String target)
set the target to be executed.

Parameters:
target - to be executed

generatesTasks

public void generatesTasks()
Generates DeployableTask tasks for each JOnAS's instances

Specified by:
generatesTasks in class ClusterTasks


Copyright © 2010 OW2 Consortium. All Rights Reserved.