org.ow2.jonas.antmodular.jonasbase.bootstrap
Class JEcho

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Echo
              extended by org.ow2.jonas.antmodular.jonasbase.bootstrap.JEcho
All Implemented Interfaces:
java.lang.Cloneable, BaseTaskItf

public class JEcho
extends org.apache.tools.ant.taskdefs.Echo
implements BaseTaskItf

Defines echo message task.

Author:
Florent Benoit, Benoit Pelletier

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Echo
org.apache.tools.ant.taskdefs.Echo.EchoLevel
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Echo
append, file, logLevel, message
 
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
JEcho()
           
 
Method Summary
protected  java.io.File getJonasRoot()
           
 java.lang.String getLogInfo()
          Gets logger info (to be displayed).
 void setConfigurationFile(java.lang.String configurationFile)
          Sets the configuration file.
 void setDestDir(java.io.File destDir)
           
 void setJonasRoot(java.io.File jonasRoot)
           
 void setLogInfo(java.lang.String logInfo)
          Set the info to be displayed by the logger.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Echo
addText, execute, setAppend, setEncoding, setFile, setLevel, setMessage, setOutput
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, 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
 
Methods inherited from interface org.ow2.jonas.antmodular.jonasbase.bootstrap.BaseTaskItf
execute
 

Constructor Detail

JEcho

public JEcho()
Method Detail

setConfigurationFile

public void setConfigurationFile(java.lang.String configurationFile)
Sets the configuration file.

Specified by:
setConfigurationFile in interface BaseTaskItf
Parameters:
configurationFile - The configurationFile to set.

setDestDir

public void setDestDir(java.io.File destDir)
Specified by:
setDestDir in interface BaseTaskItf
Parameters:
destDir - The destDir to set.

getLogInfo

public java.lang.String getLogInfo()
Gets logger info (to be displayed).

Specified by:
getLogInfo in interface BaseTaskItf
Returns:
logger info
See Also:
ant.jonasbase.BaseTaskItf

setLogInfo

public void setLogInfo(java.lang.String logInfo)
Set the info to be displayed by the logger.

Specified by:
setLogInfo in interface BaseTaskItf
Parameters:
logInfo - information to be displayed
See Also:
ant.jonasbase.BaseTaskItf

setJonasRoot

public void setJonasRoot(java.io.File jonasRoot)
Specified by:
setJonasRoot in interface BaseTaskItf
Parameters:
jonasRoot - The jonasRoot directory

getJonasRoot

protected java.io.File getJonasRoot()
Returns:
the jonasRoot.


Copyright © 2012 OW2 Consortium. All Rights Reserved.