Top Description Fields Constructors Methods
org.jboss.jandex

public Class JandexAntTask

extends Task
Class Inheritance
Imports
java.io.File, .IOException, java.util.ArrayList, .List, org.apache.tools.ant.BuildException, .Task, org.apache.tools.ant.types.FileSet

Ant Task that indexes jars, and saves the resulting index
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final List<FileSet>
private boolean
private boolean
private boolean
private boolean
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
execute()

Overrides org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work.
public boolean
public boolean
public boolean
public boolean
public void
setModify(boolean modify)

public void
setNewJar(boolean newJar)

public void
setRun(boolean run)

public void
setVerbose(boolean verbose)

Inherited from org.apache.tools.ant.Task:
bindToOwnergetOwningTargetgetRuntimeConfigurableWrappergetTaskNamegetTaskTypegetWrapperhandleErrorFlushhandleErrorOutputhandleFlushhandleInputhandleOutputinitisInvalidloglogloglogmaybeConfigureperformreconfiguresetOwningTargetsetRuntimeConfigurableWrappersetTaskNamesetTaskType

Field Detail

filesetsback to summary
private final List<FileSet> filesets
modifyback to summary
private boolean modify
newJarback to summary
private boolean newJar
runback to summary
private boolean run
verboseback to summary
private boolean verbose

Constructor Detail

JandexAntTaskback to summary
public JandexAntTask()

Method Detail

addFilesetback to summary
public void addFileset(FileSet fileset)
executeback to summary
public void execute() throws BuildException

Overrides org.apache.tools.ant.Task.execute.

Doc from org.apache.tools.ant.Task.execute.

Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.

Annotations
@Override
Exceptions
BuildException:
if something goes wrong with the build.
isModifyback to summary
public boolean isModify()
isNewJarback to summary
public boolean isNewJar()
isRunback to summary
public boolean isRun()
isVerboseback to summary
public boolean isVerbose()
setModifyback to summary
public void setModify(boolean modify)
setNewJarback to summary
public void setNewJar(boolean newJar)
setRunback to summary
public void setRun(boolean run)
setVerboseback to summary
public void setVerbose(boolean verbose)