public class ImpactAssessmentActionExecuter extends AbstractActionExecuter
group, groupedConditionEvaluatorList, indexImage, nonRequiredConditionEvaluatorList, requiredConditionEvaluatorList
Constructor and Description |
---|
ImpactAssessmentActionExecuter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
Mandatory parameters, document download will fail without these
|
protected java.util.List<WorkbookSection> |
createWbSection(java.util.List<java.util.Map<java.lang.String,java.lang.String>> mapPropList,
java.util.Map<java.lang.String,java.lang.String> labelMap)
createWbSection creates the workbook by getting the sections of the queries executeImpl returns
createWbSection is returned and then created a workbook in excel utils
|
protected org.apache.poi.ss.usermodel.Workbook |
customizeWorkbookHeader(org.apache.poi.ss.usermodel.Workbook wb,
java.lang.String fileName)
This is a hot spot function that is overwritten in the specified file.
|
void |
executeImpl(java.lang.String ticket,
Action action)
executeImpl function is the entire implementation for running queries on files associated with configurations,
setting up the workbook, setting what attributes, additional properties to query on, etc.
|
evaluateAndExecute, execute, getActionDefinition, getDescription, getGroupedConditionEvaluatorList, getIndexImage, getNonRequiredConditionEvaluatorList, getRequiredConditionEvaluatorList, getShouldPoolAction, isGroup, setActionExecutionThreadManager, setDescription, setGroup, setGroupedConditionEvaluatorList, setIndexImage, setNonRequiredConditionEvaluatorList, setRequiredConditionEvaluatorList, setShouldPoolAction
checkParameters
protected void addMandatoryParameters(java.util.List<java.lang.String> mandatoryProperties)
addMandatoryParameters
in class AbstractActionExecuter
mandatoryProperties
- the property array to add mandatory properties toopublic void executeImpl(java.lang.String ticket, Action action)
executeImpl
in interface ActionExecuter
executeImpl
in class AbstractActionExecuter
ticket
- to execute the queryaction
- to get the parameters off of from front endActionExecuter.executeImpl(String, Action)
protected org.apache.poi.ss.usermodel.Workbook customizeWorkbookHeader(org.apache.poi.ss.usermodel.Workbook wb, java.lang.String fileName)
wb
- takes in the workbook to customizefileName
- sets the filename on that workbookprotected java.util.List<WorkbookSection> createWbSection(java.util.List<java.util.Map<java.lang.String,java.lang.String>> mapPropList, java.util.Map<java.lang.String,java.lang.String> labelMap)
mapPropList
- the list of properties with their associated value