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

public Class DefaultExcludes

extends Task
Class Inheritance
Imports
org.apache.tools.ant.BuildException, .DirectoryScanner, .Project, .Task, java.util.Arrays, java.util.stream.Collectors

Alters the default excludes for the entire build..
Since
Ant 1.6

Field Summary

Modifier and TypeField and Description
private String
private boolean
private boolean
private int
private 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.

Does the work.
public void
setAdd(String
Sets the value for the pattern to exclude.
add
)

Pattern to add to the default excludes

public void
setDefault(boolean
if true go back to default patterns
def
)

go back to standard default patterns

public void
setEcho(boolean
whether or not to echo the contents of the default excludes.
echo
)

If true, echo the default excludes.

public void
setRemove(String
Sets the value for the pattern that should no longer be excluded.
remove
)

Pattern to remove from the default excludes.

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

Field Detail

addback to summary
private String add
defaultrequestedback to summary
private boolean defaultrequested
echoback to summary
private boolean echo
logLevelback to summary
private int logLevel
removeback to summary
private String remove

Constructor Detail

DefaultExcludesback to summary
public DefaultExcludes()

Method Detail

executeback to summary
public void execute() throws BuildException

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

Does the work.

Annotations
@Override
Exceptions
BuildException:
if something goes wrong with the build
setAddback to summary
public void setAdd(String add)

Pattern to add to the default excludes

Parameters
add:String

Sets the value for the pattern to exclude.

setDefaultback to summary
public void setDefault(boolean def)

go back to standard default patterns

Parameters
def:boolean

if true go back to default patterns

setEchoback to summary
public void setEcho(boolean echo)

If true, echo the default excludes.

Parameters
echo:boolean

whether or not to echo the contents of the default excludes.

setRemoveback to summary
public void setRemove(String remove)

Pattern to remove from the default excludes.

Parameters
remove:String

Sets the value for the pattern that should no longer be excluded.