Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs

public Class BindTargets

extends Task
Class Inheritance
Imports
java.util.ArrayList, .List, java.util.stream.Stream, org.apache.tools.ant.BuildException, .MagicNames, .ProjectHelper, .ProjectHelper.OnMissingExtensionPoint, .Task

Simple task which bind some targets to some defined extension point

Field Summary

Modifier and TypeField and Description
private String
private ProjectHelper.OnMissingExtensionPoint
private final List<String>
Inherited from org.apache.tools.ant.Task:
targettaskNametaskTypewrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
execute()

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

Called by the project to let the task do its work.
public void
setExtensionPoint(final String extensionPoint)

public void
setOnMissingExtensionPoint(final String onMissingExtensionPoint)

public void
public void
setTargets(final String target)

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

Field Detail

extensionPointback to summary
private String extensionPoint
onMissingExtensionPointback to summary
private ProjectHelper.OnMissingExtensionPoint onMissingExtensionPoint
targetsback to summary
private final List<String> targets

Constructor Detail

BindTargetsback to summary
public BindTargets()

Method Detail

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.
setExtensionPointback to summary
public void setExtensionPoint(final String extensionPoint)
setOnMissingExtensionPointback to summary
public void setOnMissingExtensionPoint(final String onMissingExtensionPoint)
setOnMissingExtensionPointback to summary
public void setOnMissingExtensionPoint(final ProjectHelper.OnMissingExtensionPoint onMissingExtensionPoint)
setTargetsback to summary
public void setTargets(final String target)