Changeset 1733 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/ISessionScopeRule.java
- Timestamp:
- 09/05/14 19:33:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/ISessionScopeRule.java
r1146 r1733 21 21 /** 22 22 * <p> 23 * A session scope rule is able to detected temporal relationships between task instances of the 24 * sessions provided to the {@link #apply(List<IUserSession>)} method. The rule creates temporal 25 * relationships between the tasks of the task instances, i.e. substructures in the task tree, if 26 * it detects a temporal relationship and instantiates the temporal relationships according to 27 * their occurrences. 23 * A session scope rule is able to detected temporal relationships between task 24 * instances of the sessions provided to the {@link #apply(List<IUserSession>)} 25 * method. The rule creates temporal relationships between the tasks of the task 26 * instances, i.e. substructures in the task tree, if it detects a temporal 27 * relationship and instantiates the temporal relationships according to their 28 * occurrences. 28 29 * </p> 29 30 * … … 32 33 interface ISessionScopeRule extends ITemporalRelationshipRule { 33 34 34 /** 35 * <p> 36 * Applies the rule to the given sessions. The returned rule application result is null, if the 37 * rule can not be applied, i.e. it does not detect a temporal relationship. It returns a rule 38 * application result with a status {@link RuleApplicationStatus#RULE_APPLICATION_FINISHED} if 39 * the rule was applied. The result contains all newly created tasks and task instances. 40 * </p> 41 * 42 * @param sessions the session on which the rule shall be applied 43 * 44 * @return the rule application result as described. 45 */ 46 RuleApplicationResult apply(List<IUserSession> sessions); 35 /** 36 * <p> 37 * Applies the rule to the given sessions. The returned rule application 38 * result is null, if the rule can not be applied, i.e. it does not detect a 39 * temporal relationship. It returns a rule application result with a status 40 * {@link RuleApplicationStatus#RULE_APPLICATION_FINISHED} if the rule was 41 * applied. The result contains all newly created tasks and task instances. 42 * </p> 43 * 44 * @param sessions 45 * the session on which the rule shall be applied 46 * 47 * @return the rule application result as described. 48 */ 49 RuleApplicationResult apply(List<IUserSession> sessions); 47 50 48 51 }
Note: See TracChangeset
for help on using the changeset viewer.