Class WorkflowConfigurationTabExtensionHelper
java.lang.Object
de.uka.ipd.sdq.workflow.launchconfig.extension.WorkflowConfigurationTabExtensionHelper
Helper class to access installed work-flow extensions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetWorkflowExtensions
(String workflowId) Build the list of configuration tab extensions registered for a specific work-flow.getWorkflowExtensionsSortedByPriority
(String workflowId) Get a list of work-flow extensions registered for a specific work-flow.
-
Constructor Details
-
WorkflowConfigurationTabExtensionHelper
public WorkflowConfigurationTabExtensionHelper()
-
-
Method Details
-
getWorkflowExtensionsSortedByPriority
public static List<WorkflowConfigurationTabExtension> getWorkflowExtensionsSortedByPriority(String workflowId) Get a list of work-flow extensions registered for a specific work-flow. This method also orders the work-flow extensions by their id.- Parameters:
workflowId
- The id of the work flow to get extensions for.- Returns:
- the workflow extensions sorted by priority
-
getWorkflowExtensions
Build the list of configuration tab extensions registered for a specific work-flow. This method identifies plug-ins extending the work flow extension point and have configured to be applicable for a specific work-flow by its id. When identified the extensions, it instantiates their job, triggers their configuration builder and injects the custom configuration instance into the new job.- Parameters:
workflowId
- The id to get the registered extensions for.- Returns:
- The list of identified work-flow extensions.
-