java.lang.Cloneablepublic class Chown extends AbstractAccessTask
ExecuteOn.FileDirBothcmdl, failOnError, newEnvironment, redirector, redirectorElementdestDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, typedescription, location, project| Constructor | Description |
|---|---|
Chown() |
Chown task for setting file and directory permissions.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
checkConfiguration() |
Ensure that all the required arguments and other conditions have
been set.
|
void |
setExecutable(java.lang.String e) |
We don't want to expose the executable attribute, so override it.
|
void |
setOwner(java.lang.String owner) |
Set the owner attribute.
|
isValidOs, setAddsourcefile, setCommand, setFile, setSkipEmptyFilesetsaddConfiguredRedirector, 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, setVMLauncheradd, add, addDirset, addFilelist, addFileset, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setType, setupRedirector, setVerboseequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setOwner(java.lang.String owner)
owner - The new owner for the file(s) or directory(ies)protected void checkConfiguration()
checkConfiguration in class ExecuteOnpublic void setExecutable(java.lang.String e)
setExecutable in class ExecTaske - User supplied executable that we won't accept.