org.apache.torque.task
Class PackageAsPathTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.torque.task.PackageAsPathTask
All Implemented Interfaces:
java.lang.Cloneable

public class PackageAsPathTask
extends org.apache.tools.ant.Task

Simple task to convert packages to paths.

Version:
$Id: PackageAsPathTask.java 473814 2006-11-11 22:30:30Z tv $
Author:
Stephen Haberman

Field Summary
protected  java.lang.String name
          The value to store the conversion in.
protected  java.lang.String pckg
          The package to convert.
 
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
PackageAsPathTask()
           
 
Method Summary
 void execute()
          Executes the package to patch converstion and stores it in the user property value.
 void setName(java.lang.String name)
           
 void setPackage(java.lang.String pckg)
           
 
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
 

Field Detail

pckg

protected java.lang.String pckg
The package to convert.


name

protected java.lang.String name
The value to store the conversion in.

Constructor Detail

PackageAsPathTask

public PackageAsPathTask()
Method Detail

execute

public void execute()
Executes the package to patch converstion and stores it in the user property value.

Overrides:
execute in class org.apache.tools.ant.Task

setPackage

public void setPackage(java.lang.String pckg)
Parameters:
pckg - the package to convert

setName

public void setName(java.lang.String name)
Parameters:
name - the Ant variable to store the path in


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.