Changeset 1189 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEqualityRuleManager.java
- Timestamp:
- 04/29/13 16:29:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskEqualityRuleManager.java
r1154 r1189 32 32 */ 33 33 public class TaskEqualityRuleManager { 34 35 /** 36 * <p> 37 * the singleton instance of this class 38 * </p> 39 */ 40 private static final TaskEqualityRuleManager instance = new TaskEqualityRuleManager(); 34 41 35 42 /** … … 43 50 * <p> 44 51 * initializes the task equality rule manager by filling the internal list of comparison rules. 45 * This method must be called before any other method is called on the rule manager. 46 * </p> 47 */ 48 public void init() { 52 * </p> 53 */ 54 private TaskEqualityRuleManager() { 49 55 mRuleIndex = new ArrayList<TaskComparisonRule>(); 50 56 mRuleIndex.add(new TaskIdentityRule()); … … 56 62 mRuleIndex.add(new TaskAndIterationComparisonRule(this)); 57 63 mRuleIndex.add(new TaskAndSelectionComparisonRule(this)); 64 } 65 66 67 /** 68 * <p> 69 * returns the singleton instance of this class 70 * </p> 71 * 72 * @return as described 73 */ 74 public static TaskEqualityRuleManager getInstance() { 75 return instance; 58 76 } 59 77
Note: See TracChangeset
for help on using the changeset viewer.