Class AbstractAccessTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.ExecTask
org.apache.tools.ant.taskdefs.ExecuteOn
org.apache.tools.ant.taskdefs.optional.unix.AbstractAccessTask
- All Implemented Interfaces:
- Cloneable
- Since:
- Ant 1.6
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.ExecuteOnExecuteOn.FileDirBoth
- 
Field SummaryFields inherited from class org.apache.tools.ant.taskdefs.ExecuteOndestDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, typeFields inherited from class org.apache.tools.ant.taskdefs.ExecTaskcmdl, failOnError, newEnvironment, redirector, redirectorElementFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanAutomatically approve Unix OS's.voidsetAddsourcefile(boolean b) Prevent the use of the addsourcefile attribute.voidsetCommand(Commandline cmdl) Prevent the user from specifying a different command.voidSet the file which should have its access attributes modified.voidsetSkipEmptyFilesets(boolean skip) Prevent the skipping of empty filesetsMethods inherited from class org.apache.tools.ant.taskdefs.ExecuteOnadd, add, addDirset, addFilelist, addFileset, checkConfiguration, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setMaxParallel, setParallel, setRelative, setType, setupRedirector, setVerboseMethods inherited from class org.apache.tools.ant.taskdefs.ExecTaskaddConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getOs, getOsFamily, getResolveExecutable, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExecute, setAppend, setDir, setDiscardError, setDiscardOutput, setError, setErrorProperty, setExecutable, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOsFamily, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncherMethods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
AbstractAccessTaskpublic AbstractAccessTask()Chmod task for setting file and directory permissions.
 
- 
- 
Method Details- 
setFileSet the file which should have its access attributes modified.- Parameters:
- src- the file to modify
 
- 
setCommandPrevent the user from specifying a different command.- Overrides:
- setCommandin class- ExecTask
- Parameters:
- cmdl- A user supplied command line that we won't accept.
 
- 
setSkipEmptyFilesetspublic void setSkipEmptyFilesets(boolean skip) Prevent the skipping of empty filesets- Overrides:
- setSkipEmptyFilesetsin class- ExecuteOn
- Parameters:
- skip- A user supplied boolean we won't accept.
 
- 
setAddsourcefilepublic void setAddsourcefile(boolean b) Prevent the use of the addsourcefile attribute.- Overrides:
- setAddsourcefilein class- ExecuteOn
- Parameters:
- b- A user supplied boolean we won't accept.
 
- 
isValidOsprotected boolean isValidOs()Automatically approve Unix OS's.
 
-