org.ow2.jonas.ant.jonasbase
Class Carol.MyEcho

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.ow2.jonas.ant.jonasbase.Carol.MyEcho
All Implemented Interfaces:
Cloneable, BaseTaskItf
Enclosing class:
Carol

public class Carol.MyEcho
extends org.apache.tools.ant.Task
implements BaseTaskItf

Inner class allowing to echo message concerning deprecated jeremie. Did try to use JEcho but didn't manage (see setJermiePort method).


Field Summary
 
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
Carol.MyEcho()
           
 
Method Summary
 void execute()
          Execute the task
 String getLogInfo()
          Gets logger info (to be displayed)
 void setConfigurationFile(String configurationFile)
          Sets the configuration file
 void setDestDir(File destDir)
           
 void setJonasRoot(File jonasRoot)
           
 void setLogInfo(String logInfo)
          Set the info to be displayed by the logger
 void setProject(org.apache.tools.ant.Project arg0)
           
 void setTaskName(String arg0)
           
 
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, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Carol.MyEcho

public Carol.MyEcho()
Method Detail

setTaskName

public void setTaskName(String arg0)
Overrides:
setTaskName in class org.apache.tools.ant.Task

setProject

public void setProject(org.apache.tools.ant.Project arg0)
Overrides:
setProject in class org.apache.tools.ant.ProjectComponent

execute

public void execute()
Description copied from interface: BaseTaskItf
Execute the task

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

getLogInfo

public String getLogInfo()
Description copied from interface: BaseTaskItf
Gets logger info (to be displayed)

Specified by:
getLogInfo in interface BaseTaskItf
Returns:
logger info
See Also:
BaseTaskItf.getLogInfo()

setConfigurationFile

public void setConfigurationFile(String configurationFile)
Description copied from interface: BaseTaskItf
Sets the configuration file

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

setDestDir

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

setJonasRoot

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

setLogInfo

public void setLogInfo(String logInfo)
Description copied from interface: BaseTaskItf
Set the info to be displayed by the logger

Specified by:
setLogInfo in interface BaseTaskItf
Parameters:
logInfo - information to be displayed
See Also:
BaseTaskItf.setLogInfo(java.lang.String)


Copyright © 2007 OW2 Consortium. All Rights Reserved.