org.ow2.jonas.ant.jonasbase
Class DeployableTask

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.jonasbase.JTask
                  extended by org.ow2.jonas.ant.jonasbase.DeployableTask
All Implemented Interfaces:
BaseTaskItf

public class DeployableTask
extends JTask
implements BaseTaskItf

Allow to create mail factory.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.ow2.jonas.ant.jonasbase.JTask
SEPARATORS
 
Fields inherited from class org.apache.tools.ant.Task
description, location, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
DeployableTask()
           
 
Method Summary
 void execute()
          Execute this task.
 String getDstDir()
          Get the destination directory.
 String getExtension()
           
 String getSrcDir()
           
 String getTarget()
          Get the target to be executed.
 String getValues()
           
 void setDstDir(String destDir)
          Set the destination directory.
 void setExtension(String extension)
          Sets the extension
 void setSrcDir(String sourceDir)
           
 void setTarget(String target)
          Set the target to be executed.
 void setValues(String values)
          Sets the recipient (MimePartDataSource)
 
Methods inherited from class org.ow2.jonas.ant.jonasbase.JTask
changeValueForKey, changeValueForKey, getConfigurationFile, getDestDir, getLogInfo, setConfigurationFile, setDestDir, setLogInfo, writePropsToFile
 
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
 
Methods inherited from interface org.ow2.jonas.ant.jonasbase.BaseTaskItf
getLogInfo, setConfigurationFile, setDestDir, setJonasRoot, setLogInfo
 

Constructor Detail

DeployableTask

public DeployableTask()
Method Detail

getSrcDir

public String getSrcDir()

setSrcDir

public void setSrcDir(String sourceDir)

getExtension

public String getExtension()

getValues

public String getValues()

setValues

public void setValues(String values)
Sets the recipient (MimePartDataSource)

Parameters:
mailTo - recipient.

setExtension

public void setExtension(String extension)
Sets the extension

Parameters:
extension - of the deployables

getDstDir

public String getDstDir()
Get the destination directory.

Returns:
destination directory.

setDstDir

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

Parameters:
destDir - destination directory.

getTarget

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

Returns:
the target

setTarget

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

Parameters:
target - the target to be executed.

execute

public void execute()
Execute this task.

Specified by:
execute in interface BaseTaskItf
Overrides:
execute in class org.apache.tools.ant.Task


Copyright © 2010 OW2 Consortium. All Rights Reserved.