java.lang.Cloneable
public class Attrib extends ExecuteOn
ExecuteOn.FileDirBoth
cmdl, failOnError, newEnvironment, redirector, redirectorElement
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
description, location, project
Constructor | Description |
---|---|
Attrib() |
Constructor for Attrib.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
addConfiguredRedirector, addEnv, createArg, createWatchdog, execute, getOs, getOsFamily, 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
add, add, addDirset, addFilelist, addFileset, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setRelative, setType, setupRedirector, setVerbose
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
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 ExecuteOn
public void setExecutable(java.lang.String e)
setExecutable
in class ExecTask
e
- ignoredpublic void setCommand(java.lang.String e)
e
- ignoredpublic void setAddsourcefile(boolean b)
setAddsourcefile
in class ExecuteOn
b
- ignoredpublic void setSkipEmptyFilesets(boolean skip)
setSkipEmptyFilesets
in class ExecuteOn
skip
- ignoredpublic void setParallel(boolean parallel)
setParallel
in class ExecuteOn
parallel
- ignoredpublic void setMaxParallel(int max)
setMaxParallel
in class ExecuteOn
max
- ignored