org.apache.tools.ant.taskdefs.optional.unix

Class AbstractAccessTask

public abstract class AbstractAccessTask extends ExecuteOn

Since: Ant 1.6

UNKNOWN: category="filesystem"

Constructor Summary
AbstractAccessTask()
Chmod task for setting file and directory permissions.
Method Summary
protected booleanisValidOs()
Automatically approve Unix OS's.
voidsetAddsourcefile(boolean b)
Prevent the use of the addsourcefile atribute.
voidsetCommand(Commandline cmdl)
Prevent the user from specifying a different command.
voidsetFile(File src)
Set the file which should have its access attributes modified.
voidsetSkipEmptyFilesets(boolean skip)
Prevent the skipping of empty filesets

Constructor Detail

AbstractAccessTask

public AbstractAccessTask()
Chmod task for setting file and directory permissions.

Method Detail

isValidOs

protected boolean isValidOs()
Automatically approve Unix OS's.

setAddsourcefile

public void setAddsourcefile(boolean b)
Prevent the use of the addsourcefile atribute.

Parameters: b A user supplied boolean we won't accept.

UNKNOWN: ignore="true"

setCommand

public void setCommand(Commandline cmdl)
Prevent the user from specifying a different command.

Parameters: cmdl A user supplied command line that we won't accept.

UNKNOWN: ignore="true"

setFile

public void setFile(File src)
Set the file which should have its access attributes modified.

setSkipEmptyFilesets

public void setSkipEmptyFilesets(boolean skip)
Prevent the skipping of empty filesets

Parameters: skip A user supplied boolean we won't accept.

UNKNOWN: ignore="true"

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.