| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.tools.ant.ProjectComponentorg.apache.tools.ant.Taskorg.apache.tools.ant.taskdefs.ExecTaskorg.apache.tools.ant.taskdefs.ExecuteOnorg.apache.tools.ant.taskdefs.optional.windows.Attribpublic class Attribextends ExecuteOnNested Class Summary |
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.ExecuteOn | |
ExecuteOn.FileDirBoth | |
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.ExecuteOn | |
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type | |
Fields inherited from class org.apache.tools.ant.taskdefs.ExecTask | |
cmdl, failOnError, newEnvironment, redirector, redirectorElement | |
Fields inherited from class org.apache.tools.ant.ProjectComponent | |
description, location, project | |
Constructor Summary | |
| |
Method Summary | |
protected void |
|
protected boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.apache.tools.ant.taskdefs.ExecuteOn | |
add, add, addDirset, addFilelist, addFileset, checkConfiguration, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setAddsourcefile, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setSkipEmptyFilesets, setType, setVerbose, setupRedirector | |
Methods inherited from class org.apache.tools.ant.taskdefs.ExecTask | |
addConfiguredRedirector, addEnv, checkConfiguration, createArg, createHandler, createWatchdog, execute, getResolveExecutable, isValidOs, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExec, runExecute, setAppend, setCommand, setDir, setError, setErrorProperty, setExecutable, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOsFamily, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncher, setupRedirector | |
Methods inherited from class org.apache.tools.ant.Task | |
bindToOwner, execute, 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, log, log, setDescription, setLocation, setProject | |
protected void checkConfiguration()
Check the attributes.
- Overrides:
- checkConfiguration in interface ExecuteOn
protected boolean isValidOs()
Check if the os is valid. Always include windows
- Returns:
- true if the os is valid.
public void setAddsourcefile(boolean b)
Add source file. This is not allowed, and it always throws a BuildException.
- Overrides:
- setAddsourcefile in interface ExecuteOn
- Parameters:
b- ignored
public void setArchive(boolean value)
Set the Archive file attribute.
- Parameters:
value- abooleanvalue
public void setCommand(String e)
Set the executable. This is not allowed, and it always throws a BuildException.
- Parameters:
e- ignored
public void setExecutable(String e)
Set the executable. This is not allowed, and it always throws a BuildException.
- Overrides:
- setExecutable in interface ExecTask
- Parameters:
e- ignored
public void setFile(File src)
A file to be attribed.
- Parameters:
src- a file
public void setHidden(boolean value)
Set the Hidden file attribute.
- Parameters:
value- abooleanvalue
public void setMaxParallel(int max)
Set max parallel. This is not allowed, and it always throws a BuildException.
- Overrides:
- setMaxParallel in interface ExecuteOn
- Parameters:
max- ignored
public void setParallel(boolean parallel)
Set parallel. This is not allowed, and it always throws a BuildException.
- Overrides:
- setParallel in interface ExecuteOn
- Parameters:
parallel- ignored
public void setReadonly(boolean value)
Set the ReadOnly file attribute.
- Parameters:
value- abooleanvalue
public void setSkipEmptyFilesets(boolean skip)
Set skip empty file sets. This is not allowed, and it always throws a BuildException.
- Overrides:
- setSkipEmptyFilesets in interface ExecuteOn
- Parameters:
skip- ignored
public void setSystem(boolean value)
Set the System file attribute.
- Parameters:
value- abooleanvalue