| Modifier and Type | Field and Description |
|---|---|
| private FileSet | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkConfiguration()
Overrides org. |
| public PatternSet. | |
| public PatternSet. | |
| public PatternSet | |
| public void | |
| protected boolean | Returns: true if the os is valid. |
| public void | setAddsourcefile(boolean
ignored. b)Overrides org. |
| public void | setCommand(Commandline
ignored. cmdl)Overrides org. |
| public void | setDefaultexcludes(boolean
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used. useDefaultExcludes)Sets whether default exclusions should be used or not. |
| public void | |
| public void | setExcludes(String
the string containing the exclude patterns. excludes)Sets the set of exclude patterns. |
| public void | setExecutable(String
ignored. e)Overrides org. |
| public void | |
| public void | setIncludes(String
the string containing the include patterns. includes)Sets the set of include patterns. |
| public void | |
| public void | setProject(Project
the project for this task. project)
Set the project of this task.
|
| public void | setSkipEmptyFilesets(boolean
ignored. skip)Overrides org. |
| defaultSet | back to summary |
|---|---|
| private FileSet defaultSet | |
| defaultSetDefined | back to summary |
|---|---|
| private boolean defaultSetDefined | |
| havePerm | back to summary |
|---|---|
| private boolean havePerm | |
| Chmod | back to summary |
|---|---|
| public Chmod() Chmod task for setting file and directory permissions. | |
| checkConfiguration | back to summary |
|---|---|
| protected void checkConfiguration() Overrides org. Check the attributes and nested elements.
| |
| createExclude | back to summary |
|---|---|
| public PatternSet. Add a name entry on the exclude list.
| |
| createInclude | back to summary |
|---|---|
| public PatternSet. Add a name entry on the include list.
| |
| createPatternSet | back to summary |
|---|---|
| public PatternSet createPatternSet() Add a set of patterns.
| |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Carry out the chmoding.
| |
| isValidOs | back to summary |
|---|---|
| protected boolean isValidOs() Overrides org. Check if the os is valid. Always include unix.
| |
| setAddsourcefile | back to summary |
|---|---|
| public void setAddsourcefile(boolean b) Overrides org. This is not allowed for Chmod.
| |
| setCommand | back to summary |
|---|---|
| public void setCommand(Commandline cmdl) Overrides org. Set the command. This is not allowed for Chmod.
| |
| setDefaultexcludes | back to summary |
|---|---|
| public void setDefaultexcludes(boolean useDefaultExcludes) Sets whether default exclusions should be used or not.
| |
| setDir | back to summary |
|---|---|
| public void setDir(File src) Overrides org. The directory which holds the files whose permissions must be changed. | |
| setExcludes | back to summary |
|---|---|
| public void setExcludes(String excludes) Sets the set of exclude patterns. Patterns may be separated by a comma or a space.
| |
| setExecutable | back to summary |
|---|---|
| public void setExecutable(String e) Overrides org. Set the executable. This is not allowed for Chmod.
| |
| setFile | back to summary |
|---|---|
| public void setFile(File src) The file or single directory of which the permissions must be changed.
| |
| setIncludes | back to summary |
|---|---|
| public void setIncludes(String includes) Sets the set of include patterns. Patterns may be separated by a comma or a space.
| |
| setPerm | back to summary |
|---|---|
| public void setPerm(String perm) Set the new permissions.
| |
| setProject | back to summary |
|---|---|
| public void setProject(Project project) Overrides org. Set the project of this task. Calls the super class and sets the project on dhe default FileSet.
| |
| setSkipEmptyFilesets | back to summary |
|---|---|
| public void setSkipEmptyFilesets(boolean skip) Overrides org. This is not allowed for Chmod.
| |