@TaskMeta(id="lib-dir-info", name="Library Directory Information", description="Lists the files reside inside the library directory and its main sub directories", maskable=false, intensive=false, taskParameters=@TaskParamMeta(name="output",description="output filename of the library directory information collection",configurable=false,defaultValue="lib_dir_content_[timestamp].txt")) public class LibDirInfoTask extends TaskBase
serverConfig
Constructor and Description |
---|
LibDirInfoTask() |
Modifier and Type | Method and Description |
---|---|
Status |
execute(String outputRoot,
Map<String,String> parameters)
Executes the core logic of the task.
|
getDescription, getId, getName, getParameterDetails, isIntensive, isMaskable, setDescription, setId, setIntensive, setMaskable, setName, setParameterDetails, setServerConfig, toView
public Status execute(String outputRoot, Map<String,String> parameters) throws Exception
File.separator
-terminated path
defined by the outputRoot
parameter.
Any exceptions should be thrown to the base method, for maintaining proper exception notification.Copyright © 2016–2019 AdroitLogic. All rights reserved.