org.apache.tools.ant.taskdefs.optional.unix
Class Chgrp
Chgrp equivalent for unix-like environments.
Chgrp()- Chgrp task for setting unix group of a file.
|
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 atribute, so overide it.
|
void | setGroup(String group)- Set the group atribute.
|
add, addDirset, addFilelist, addFileset, checkConfiguration, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setAddsourcefile, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setSkipEmptyFilesets, setType, setVerbose, setupRedirector |
addConfiguredRedirector, addEnv, checkConfiguration, createArg, createHandler, createWatchdog, execute, getResolveExecutable, isValidOs, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExec, runExecute, setAppend, setCommand, setDir, setError, setErrorProperty, setExecutable, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncher, setupRedirector |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Chgrp
public Chgrp()
Chgrp task for setting unix group of a file.
checkConfiguration
protected void checkConfiguration()
Ensure that all the required arguments and other conditions have
been set.
- checkConfiguration in interface ExecuteOn
setExecutable
public void setExecutable(String e)
We don't want to expose the executable atribute, so overide it.
- setExecutable in interface ExecTask
e - User supplied executable that we won't accept.
setGroup
public void setGroup(String group)
Set the group atribute.
group - The new group for the file(s) or directory(ies)
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.