source: trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.java @ 1167

Last change on this file since 1167 was 1146, checked in by pharms, 11 years ago
  • complete refactoring of task tree model with a separation of task models and task instances
  • appropriate adaptation of task tree generation process
  • appropriate adaptation of commands and task tree visualization
  • Property svn:executable set to *
File size: 1.8 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.tasktrees.treeifc;
16
17import java.util.List;
18
19import de.ugoe.cs.autoquest.eventcore.IEventTarget;
20import de.ugoe.cs.autoquest.eventcore.IEventType;
21
22/**
23 * TODO comment
24 *
25 * @version $Revision: $ $Date: 21.02.2012$
26 * @author 2012, last modified by $Author: patrick$
27 */
28public interface ITaskFactory {
29
30    /**
31     *
32     * @param eventType
33     * @param eventTarget
34     * @return
35     */
36    IEventTask createNewEventTask(IEventType eventType, IEventTarget eventTarget);
37
38    /**
39     *
40     * @return
41     */
42    ISequence createNewSequence();
43
44    /**
45     *
46     * @return
47     */
48    IIteration createNewIteration();
49
50    /**
51     *
52     * @return
53     */
54    IOptional createNewOptional();
55
56    /**
57     *
58     * @return
59     */
60    ISelection createNewSelection();
61
62    /**
63     *
64     * @return
65     */
66    ITaskInstance createNewTaskInstance(ITask task);
67
68    /**
69     *
70     * @return
71     */
72    ITaskInstanceList createNewTaskInstanceList();
73
74    /**
75     *
76     * @return
77     */
78    IUserSession createUserSession();
79
80    /**
81     *
82     * @param rootSequence
83     * @return
84     */
85    ITaskModel createTaskModel(List<IUserSession> userSessions);
86
87}
Note: See TracBrowser for help on using the repository browser.