TaskConfig¶
-
public class
TaskConfigimplements Serializable¶ Represents a single task configuration. Task configuration is a list of
TaskConfigSteps that are taken during task execution. A single step can be a filter(whose conditions must be meet) or a data store that must be fetched in order to execute the task successfully.
Methods¶
add¶
-
public TaskConfig
add(TaskConfigStepDto step)¶
add¶
-
public TaskConfig
add(TaskConfigStep... configSteps)¶ Stores the given configuration steps.
Parameters: - configSteps – the configuration steps, not null
Returns: this object
addAll¶
-
public TaskConfig
addAll(SortedSet<TaskConfigStep> set)¶ Stores the given configuration steps
Parameters: - set – the configuration steps
Returns: this object
getDataSource¶
-
public DataSource
getDataSource(String providerName, Long objectId, String objectType)¶ Returns the data source for the given information.
Parameters: - providerName – the provider name
- objectId – the object ID
- objectType – the object type
Returns: the object matching the given data.
getDataSources¶
-
public List<DataSource>
getDataSources()¶
getDataSources¶
-
public SortedSet<DataSource>
getDataSources(String providerName)¶
getPostActionParameters¶
-
public List<PostActionParameter>
getPostActionParameters()¶
getSteps¶
-
public SortedSet<TaskConfigStep>
getSteps()¶
removeAll¶
-
public TaskConfig
removeAll()¶ Clears filter sets and data sources for this object.
Returns: this object
removeDataSources¶
-
public TaskConfig
removeDataSources()¶ Clears data sources for this object.
Returns: this object
removeFilterSets¶
-
public TaskConfig
removeFilterSets()¶ Clears filter sets for this object.
Returns: this object
setDataSources¶
-
public void
setDataSources(List<DataSource> dataSources)¶
setPostActionParameters¶
-
public void
setPostActionParameters(List<PostActionParameter> postActionParameters)¶
toDto¶
-
public TaskConfigDto
toDto()¶