public class Chgrp extends AbstractAccessTask
ExecuteOn.FileDirBoth
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
cmdl, failOnError, newEnvironment, redirector, redirectorElement
description, location, project
Constructor and Description |
---|
Chgrp()
Chgrp task for setting unix group of a file.
|
Modifier and Type | Method and 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 atribute, so overide it.
|
void |
setGroup(java.lang.String group)
Set the group atribute.
|
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
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.