|
Carrot2 Framework
API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.carrot2.ant.tasks.BaseDependencyPathTask
org.carrot2.ant.tasks.CollectMetaTask
public class CollectMetaTask
An ANT task that collects all meta information snippets of a given type from dependencies of a given component.
| Field Summary |
|---|
| 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 | |
|---|---|
CollectMetaTask()
|
|
| Method Summary | |
|---|---|
protected void |
checkParameters()
Checks if all parameters are correct. |
void |
execute()
Searches for components that are not up to date and updates them if possible. |
void |
setComponentDescriptor(File dependencyFile)
Sets a path to the dependency of the component for which dependencies are to be retrieved. |
void |
setProfile(String profile)
Set the profile for dependency traversal. |
void |
setProperty(String propertyName)
Sets the property to be set with collected meta information. |
void |
setType(String type)
Sets the meta information type to collect. |
| Methods inherited from class org.carrot2.ant.tasks.BaseDependencyPathTask |
|---|
createDependencies, getAllComponents |
| 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 |
| Constructor Detail |
|---|
public CollectMetaTask()
| Method Detail |
|---|
public void setProfile(String profile)
profile - public void setProperty(String propertyName)
public void setType(String type)
public void setComponentDescriptor(File dependencyFile)
protected void checkParameters()
throws BuildException
BuildException
public void execute()
throws BuildException
execute in class TaskBuildException
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||