java.lang.Cloneable
public class Chgrp extends AbstractAccessTask
ExecuteOn.FileDirBoth
cmdl, failOnError, newEnvironment, redirector, redirectorElement
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
description, location, project
Constructor | Description |
---|---|
Chgrp() |
Chgrp task for setting unix group of a file.
|
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 |
setGroup(java.lang.String group) |
Set the group attribute.
|
isValidOs, setAddsourcefile, setCommand, setFile, setSkipEmptyFilesets
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
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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setGroup(java.lang.String group)
group
- The new group for the file(s) or directory(ies)protected void checkConfiguration()
checkConfiguration
in class ExecuteOn
public void setExecutable(java.lang.String e)
setExecutable
in class ExecTask
e
- User supplied executable that we won't accept.