ExecuteOn.FileDirBoth
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
cmdl, failOnError, newEnvironment, redirector, redirectorElement
description, location, project
Constructor and Description |
---|
AbstractAccessTask()
Chmod task for setting file and directory permissions.
|
Modifier and Type | Method and Description |
---|---|
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
|
add, add, addDirset, addFilelist, addFileset, checkConfiguration, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setType, setupRedirector, setVerbose
addConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getOs, getOsFamily, getResolveExecutable, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExecute, setAppend, setDir, setError, setErrorProperty, setExecutable, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOsFamily, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncher
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public AbstractAccessTask()
public void setFile(java.io.File src)
src
- the file to modifypublic 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.