Changeset 1154 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/manager/ComponentManager.java
- Timestamp:
- 04/19/13 17:02:50 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/manager/ComponentManager.java
r1146 r1154 23 23 24 24 /** 25 * TODO comment 25 * <p> 26 * The component manager is the central reference for the distinct submodules required for 27 * task tree generation. Such include the temporal relationship rule manager, the task equality 28 * rule manager, the default task builder, as well as the default task factory. 29 * </p> 26 30 * 27 * @version $Revision: $ $Date: 12.02.2012$28 * @author 2012, last modified by $Author: patrick$31 * @version 1.0 32 * @author pharms 29 33 */ 30 34 public class ComponentManager { 31 35 32 /** */ 36 /** 37 * <p> 38 * singleton instance of this class 39 * </p> 40 */ 33 41 private static ComponentManager instance; 34 42 35 /** */ 43 /** 44 * <p> 45 * the default temporal relationship rule manager 46 * </p> 47 */ 36 48 private TemporalRelationshipRuleManager temporalRelationshipRuleManager; 37 49 38 /** */ 50 /** 51 * <p> 52 * the default task equality rule manager 53 * </p> 54 */ 39 55 private TaskEqualityRuleManager taskEqualityRuleManager; 40 56 41 /** */ 57 /** 58 * <p> 59 * the default task builder 60 * </p> 61 */ 42 62 private ITaskBuilder taskBuilder; 43 63 44 /** */ 64 /** 65 * <p> 66 * the default task factory 67 * </p> 68 */ 45 69 private ITaskFactory taskFactory; 46 70 47 71 /** 48 * 72 * <p> 73 * returns the default temporal relationship rule manager 74 * </p> 75 * 76 * @return as described 49 77 */ 50 78 public static TemporalRelationshipRuleManager getTemporalRelationshipRuleManager() { … … 53 81 54 82 /** 55 * 83 * <p> 84 * returns the default task equality rule manager 85 * </p> 86 * 87 * @return as described 56 88 */ 57 89 public static TaskEqualityRuleManager getTaskEqualityRuleManager() { … … 60 92 61 93 /** 62 * 94 * <p> 95 * returns the default task builder 96 * </p> 97 * 98 * @return as described 63 99 */ 64 100 public static ITaskBuilder getDefaultTaskBuilder() { … … 67 103 68 104 /** 69 * 105 * <p> 106 * returns the default task factory 107 * </p> 108 * 109 * @return as described 70 110 */ 71 111 public static ITaskFactory getDefaultTaskFactory() { … … 74 114 75 115 /** 76 * 116 * <p> 117 * clears the singleton instance. Needed for test purposes to ensure statelessness between 118 * tests. 119 * </p> 77 120 */ 78 121 public static synchronized void clearInstance() { … … 81 124 82 125 /** 83 * 126 * <p> 127 * returns the singleton instance of this class 128 * </p> 129 * 130 * @return as described 84 131 */ 85 132 private static synchronized ComponentManager getInstance() { … … 92 139 93 140 /** 94 * 141 * <p> 142 * initialized the component manager with all it default components which are the temporal 143 * relationship rule manager, the task equality rule manager, the default task builder, as 144 * well as the default task factory. 145 * </p> 95 146 */ 96 147 private void init() {
Note: See TracChangeset
for help on using the changeset viewer.