Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
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.windows.Attrib
public class Attrib
extends ExecuteOn
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 | |
description , location , target , taskName , taskType , wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent | |
project |
Constructor Summary | |
|
Method Summary | |
protected void |
|
protected boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.apache.tools.ant.taskdefs.ExecuteOn | |
addDirset , addFilelist , addFileset , checkConfiguration , createHandler , createMapper , createSrcfile , createTargetfile , getCommandline , getCommandline , getDirs , getFiles , getFilesAndDirs , runExec , runParallel , setAddsourcefile , setDest , setForwardslash , setIgnoremissing , setMaxParallel , setParallel , setRelative , setSkipEmptyFilesets , setType , setVerbose , setupRedirector |
Methods inherited from class org.apache.tools.ant.taskdefs.ExecTask | |
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 , setSpawn , setTimeout , setTimeout , setVMLauncher , setupRedirector |
Methods inherited from class org.apache.tools.ant.Task | |
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 |
Methods inherited from class org.apache.tools.ant.ProjectComponent | |
getProject , log , log , setProject |
protected void checkConfiguration()
Has the user set all necessary attributes?
- Overrides:
- checkConfiguration in interface ExecuteOn
protected boolean isValidOs()
Is this the OS the user wanted?
- Overrides:
- isValidOs in interface ExecTask
- Returns:
- boolean
true
if the os under which ant is running is matches one os in the os attribute or if the os attribute is nullfalse
otherwise.
public void setAddsourcefile(boolean b)
- Overrides:
- setAddsourcefile in interface ExecuteOn
public void setArchive(boolean value)
set the Archive file attribute
public void setCommand(String e)
public void setFile(File src)
public void setHidden(boolean value)
set the Hidden file attribute
public void setReadonly(boolean value)
set the ReadOnly file attribute
public void setSkipEmptyFilesets(boolean skip)
- Overrides:
- setSkipEmptyFilesets in interface ExecuteOn
public void setSystem(boolean value)
set the System file attribute