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

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

Simple task to convert packages to paths.

Version:
$Id: PackageAsPathTask.java,v 1.1 2007-10-21 07:57:26 abyrne Exp $
Author:
Stephen Haberman

Field Summary
protected  String name
          The value to store the conversion in.
protected  String pckg
          The package to convert.
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
PackageAsPathTask()
           
 
Method Summary
 void execute()
          Executes the package to patch converstion and stores it in the user property value.
 void setName(String name)
           
 void setPackage(String pckg)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, 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
 

Field Detail

pckg

protected String pckg
The package to convert.


name

protected 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(String pckg)
Parameters:
pckg - the package to convert

setName

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


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.