|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.windows.Attrib
public class Attrib
Attrib equivalent for Win32 environments. Note: Attrib parameters /S and /D are not handled.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.ExecuteOn |
|---|
ExecuteOn.FileDirBoth |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.ExecuteOn |
|---|
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type |
| Fields inherited from class org.apache.tools.ant.taskdefs.ExecTask |
|---|
cmdl, failOnError, newEnvironment, redirector, redirectorElement |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Attrib()
Constructor for Attrib. |
|
| Method Summary | |
|---|---|
protected void |
checkConfiguration()
Check the attributes. |
protected boolean |
isValidOs()
Check if the os is valid. |
void |
setAddsourcefile(boolean b)
Add source file. |
void |
setArchive(boolean value)
Set the Archive file attribute. |
void |
setCommand(java.lang.String e)
Set the executable. |
void |
setExecutable(java.lang.String e)
Set the executable. |
void |
setFile(java.io.File src)
A file to be attribed. |
void |
setHidden(boolean value)
Set the Hidden file attribute. |
void |
setMaxParallel(int max)
Set max parallel. |
void |
setParallel(boolean parallel)
Set parallel. |
void |
setReadonly(boolean value)
Set the ReadOnly file attribute. |
void |
setSkipEmptyFilesets(boolean skip)
Set skip empty file sets. |
void |
setSystem(boolean value)
Set the System file attribute. |
| Methods inherited from class org.apache.tools.ant.taskdefs.ExecuteOn |
|---|
add, add, addDirset, addFilelist, addFileset, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setRelative, setType, setupRedirector, setVerbose |
| Methods inherited from class org.apache.tools.ant.taskdefs.ExecTask |
|---|
addConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getResolveExecutable, logFlush, maybeSetResultPropertyValue, prepareExec, resolveExecutable, runExecute, setAppend, setCommand, setDir, setError, setErrorProperty, setFailIfExecutionFails, setFailonerror, setInput, setInputString, setLogError, setNewenvironment, setOs, setOsFamily, setOutput, setOutputproperty, setResolveExecutable, setResultProperty, setSearchPath, setSpawn, setTimeout, setTimeout, setVMLauncher |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Attrib()
| Method Detail |
|---|
public void setFile(java.io.File src)
src - a filepublic void setReadonly(boolean value)
value - a boolean valuepublic void setArchive(boolean value)
value - a boolean valuepublic void setSystem(boolean value)
value - a boolean valuepublic void setHidden(boolean value)
value - a boolean valueprotected void checkConfiguration()
checkConfiguration in class ExecuteOnpublic void setExecutable(java.lang.String e)
setExecutable in class ExecTaske - ignoredpublic void setCommand(java.lang.String e)
e - ignoredpublic void setAddsourcefile(boolean b)
setAddsourcefile in class ExecuteOnb - ignoredpublic void setSkipEmptyFilesets(boolean skip)
setSkipEmptyFilesets in class ExecuteOnskip - ignoredpublic void setParallel(boolean parallel)
setParallel in class ExecuteOnparallel - ignoredpublic void setMaxParallel(int max)
setMaxParallel in class ExecuteOnmax - ignoredprotected boolean isValidOs()
isValidOs in class ExecTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||