abstract class InfoTask extends TaskBase
Any task extending this task must provide TBSRConstants.OUTPUT_FILE
as a parameter.
serverConfig
Constructor and Description |
---|
InfoTask() |
Modifier and Type | Method and Description |
---|---|
Status |
execute(String outputRoot,
Map<String,String> parameters)
Executes the core logic of the task.
|
(package private) abstract DetailsMap |
getInfoMap()
Retrieves and returns information relevant to the operation, as a
DetailsMap ; task-specific
implementation should be provided by the actual task |
(package private) abstract String |
getInfoType()
Returns a String representing the type of information provided by the operation (e.g.
|
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
TaskBase
File.separator
-terminated path
defined by the outputRoot
parameter.
Any exceptions should be thrown to the base method, for maintaining proper exception notification.abstract DetailsMap getInfoMap() throws Exception
DetailsMap
; task-specific
implementation should be provided by the actual taskException
- in case of a failure to get the info mapabstract String getInfoType()
Copyright © 2016–2019 AdroitLogic. All rights reserved.