public class Attrib extends ExecuteOn
ExecuteOn.FileDirBoth
destDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, type
cmdl, failOnError, newEnvironment, redirector, redirectorElement
description, location, project
Constructor and Description |
---|
Attrib()
Constructor for Attrib.
|
Modifier and Type | Method and 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.
|
add, add, addDirset, addFilelist, addFileset, createHandler, createMapper, createSrcfile, createTargetfile, getCommandline, getCommandline, getDirs, getFiles, getFilesAndDirs, runExec, runParallel, setDest, setForce, setForwardslash, setIgnoremissing, setRelative, setType, setupRedirector, setVerbose
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
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
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