org.apache.felix.ipojo.task
Class IPojoTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.felix.ipojo.task.IPojoTask
All Implemented Interfaces:
java.lang.Cloneable

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

iPOJO Ant Task. This Ant task manipulates an input bundle.

Author:
Felix Project Team

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
IPojoTask()
           
 
Method Summary
 void execute()
          Execute the Ant Task.
 void setIgnoreAnnotations(boolean flag)
          Set if we need to ignore annotations or not.
 void setInput(java.io.File in)
          Set the input bundle.
 void setMetadata(java.io.File meta)
          Set the metadata file.
 void setOutput(java.io.File out)
          Set the output bundle.
 
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
 

Constructor Detail

IPojoTask

public IPojoTask()
Method Detail

setMetadata

public void setMetadata(java.io.File meta)
Set the metadata file.

Parameters:
meta - : the metadata file.

setInput

public void setInput(java.io.File in)
Set the input bundle.

Parameters:
in - : the input bundle

setOutput

public void setOutput(java.io.File out)
Set the output bundle.

Parameters:
out - : the output bundle

setIgnoreAnnotations

public void setIgnoreAnnotations(boolean flag)
Set if we need to ignore annotations or not.

Parameters:
flag - : true if we need to ignore annotations.

execute

public void execute()
Execute the Ant Task.

Overrides:
execute in class org.apache.tools.ant.Task
See Also:
Task.execute()