1 | package de.uka.ipd.sdq.codegen.simucontroller.workflow.jobs; |
2 | |
3 | import java.util.LinkedList; |
4 | import java.util.List; |
5 | |
6 | public class WorkflowHooks { |
7 | |
8 | /** The id of the workflow extending configuration tabs have to register for. */ |
9 | public static String WORKFLOW_ID_BEFORE_DOCK = "workflow.extension.simucom.before.dock"; |
10 | |
11 | /** The id of the workflow extending configuration tabs have to register for. */ |
12 | public static String WORKFLOW_ID_AFTER_DOCK = "workflow.extension.simucom.after.dock"; |
13 | |
14 | /** The id of the workflow extending configuration tabs have to register for. */ |
15 | public static String WORKFLOW_ID_AFTER_LOAD_VALIDATE = "workflow.extension.simucom.after.load.validate"; |
16 | |
17 | /** |
18 | * Get a list of ids of all extendible workflow extension points. |
19 | * |
20 | * @return The list of ids. |
21 | */ |
22 | public static List<String> getAllWorkflowHookIDs(){ |
23 | |
24 | List<String> idList = new LinkedList<String>(); |
25 | idList.add(WORKFLOW_ID_AFTER_LOAD_VALIDATE); |
26 | idList.add(WORKFLOW_ID_BEFORE_DOCK); |
27 | idList.add(WORKFLOW_ID_AFTER_DOCK); |
28 | return idList; |
29 | } |
30 | |
31 | } |