public class Chown extends AbstractAccessTask
ExecuteOn.FileDirBoth
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
cmdl, failOnError, newEnvironment, redirector, redirectorElement
Constructor and Description |
---|
Chown()
Chown task for setting file and directory permissions.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkConfiguration()
Ensure that all the required arguments and other conditions have
been set.
|
void |
setExecutable(String e)
We don't want to expose the executable attribute, so override it.
|
void |
setOwner(String owner)
Set the owner attribute.
|
isValidOs, setAddsourcefile, setCommand, setFile, setSkipEmptyFilesets
add, add, addDirset, addFilelist, addFileset, 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, 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
protected void checkConfiguration()
checkConfiguration
in class ExecuteOn
public void setExecutable(String e)
setExecutable
in class ExecTask
e
- User supplied executable that we won't accept.public void setOwner(String owner)
owner
- The new owner for the file(s) or directory(ies)