|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.tools.ant.taskdefs.ExecTask | +--org.apache.tools.ant.taskdefs.ExecuteOn | +--org.apache.tools.ant.taskdefs.optional.unix.AbstractAccessTask
Nested Class Summary |
Nested classes 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.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
AbstractAccessTask()
Chmod task for setting file and directory permissions. |
Method Summary | |
protected boolean |
isValidOs()
Automatically approve Unix OS's. |
void |
setAddsourcefile(boolean b)
Prevent the use of the addsourcefile atribute. |
void |
setCommand(Commandline cmdl)
Prevent the user from specifying a different command. |
void |
setFile(java.io.File src)
Set the file which should have its access attributes modified. |
void |
setSkipEmptyFilesets(boolean skip)
Prevent the skipping of empty filesets |
Methods inherited from class org.apache.tools.ant.taskdefs.ExecuteOn |
addDirset, addFilelist, addFileset, checkConfiguration, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setType, setupRedirector, setVerbose |
Methods inherited from class org.apache.tools.ant.taskdefs.ExecTask |
addConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getResolveExecutable, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExecute, setAppend, setDir, setError, setErrorProperty, setExecutable, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSpawn, setTimeout, setTimeout, setVMLauncher |
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 AbstractAccessTask()
Method Detail |
public void setFile(java.io.File src)
public void setCommand(Commandline cmdl)
setCommand
in class ExecTask
cmdl
- A user supplied command line that we won't accept.public void setSkipEmptyFilesets(boolean skip)
setSkipEmptyFilesets
in class ExecuteOn
skip
- A user supplied boolean we won't accept.public void setAddsourcefile(boolean b)
setAddsourcefile
in class ExecuteOn
b
- A user supplied boolean we won't accept.protected boolean isValidOs()
isValidOs
in class ExecTask
true
if the os under which ant is running is
matches one os in the os attribute
or if the os attribute is nullfalse
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |