Class DataLoadAction<ATTACHEDTO extends Help>
- Object
-
- Action
-
- DataLoadAction<ATTACHEDTO>
-
- All Implemented Interfaces:
Help
public class DataLoadAction<ATTACHEDTO extends Help> extends Action
This action starts calculation of selected data load. It's a programmatic version of the same action available in UI. As such it allows user to schedule the action in calculation flow formula.
-
-
Constructor Summary
Constructors Constructor Description DataLoadAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String dataLoadLabel, String dataLoadType, String target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ATTACHEDTO
back()
Boolean
getCalculate()
String
getDataLoadLabel()
String
getDataLoadType()
List<ChainedJobInfo>
getNextJobs()
String
getObjectName()
String
getTarget()
DataLoadAction<ATTACHEDTO>
setCalculate(Boolean calculate)
Whether the action is valid and should be triggered or not.DataLoadAction<ATTACHEDTO>
setNextJobs(List<ChainedJobInfo> jobs)
Defines subsequent follow-on jobsString
toString()
-
-
-
Constructor Detail
-
DataLoadAction
public DataLoadAction(ATTACHEDTO backLink, Invocations<MethodInvocationRecord> invocations, String dataLoadLabel, String dataLoadType, String target)
-
-
Method Detail
-
setCalculate
public DataLoadAction<ATTACHEDTO> setCalculate(Boolean calculate)
Whether the action is valid and should be triggered or not.- Parameters:
calculate
-- true - calculation of the data load is started as background process
- false - calculation of the data load is NOT started at all
-
setNextJobs
public DataLoadAction<ATTACHEDTO> setNextJobs(List<ChainedJobInfo> jobs)
Defines subsequent follow-on jobs- Parameters:
jobs
- List of ChainedJobInfo objects- Returns:
-
back
public ATTACHEDTO back()
-
getObjectName
public String getObjectName()
-
getDataLoadLabel
public String getDataLoadLabel()
-
getDataLoadType
public String getDataLoadType()
-
getTarget
public String getTarget()
-
getCalculate
public Boolean getCalculate()
-
getNextJobs
public List<ChainedJobInfo> getNextJobs()
-
-