public class Attrib extends ExecuteOn
ExecuteOn.FileDirBothdestDir, filesets, mapper, mapperElement, srcFilePos, srcIsFirst, targetFilePos, typecmdl, failOnError, newEnvironment, redirector, redirectorElementdescription, 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, setVerboseaddConfiguredRedirector, 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, setVMLauncherbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic 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 - ignored