[1113] | 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 | |
---|
[922] | 15 | package de.ugoe.cs.autoquest.tasktrees.treeifc; |
---|
[439] | 16 | |
---|
[1146] | 17 | import java.util.List; |
---|
| 18 | |
---|
[922] | 19 | import de.ugoe.cs.autoquest.eventcore.IEventTarget; |
---|
| 20 | import de.ugoe.cs.autoquest.eventcore.IEventType; |
---|
[439] | 21 | |
---|
| 22 | /** |
---|
| 23 | * TODO comment |
---|
| 24 | * |
---|
| 25 | * @version $Revision: $ $Date: 21.02.2012$ |
---|
| 26 | * @author 2012, last modified by $Author: patrick$ |
---|
| 27 | */ |
---|
[1146] | 28 | public interface ITaskFactory { |
---|
[439] | 29 | |
---|
[1146] | 30 | /** |
---|
| 31 | * |
---|
| 32 | * @param eventType |
---|
| 33 | * @param eventTarget |
---|
| 34 | * @return |
---|
| 35 | */ |
---|
| 36 | IEventTask createNewEventTask(IEventType eventType, IEventTarget eventTarget); |
---|
[439] | 37 | |
---|
[1146] | 38 | /** |
---|
| 39 | * |
---|
| 40 | * @return |
---|
| 41 | */ |
---|
| 42 | ISequence createNewSequence(); |
---|
[439] | 43 | |
---|
[1146] | 44 | /** |
---|
| 45 | * |
---|
| 46 | * @return |
---|
| 47 | */ |
---|
| 48 | IIteration createNewIteration(); |
---|
[439] | 49 | |
---|
[1146] | 50 | /** |
---|
| 51 | * |
---|
| 52 | * @return |
---|
| 53 | */ |
---|
| 54 | IOptional createNewOptional(); |
---|
[1126] | 55 | |
---|
[1146] | 56 | /** |
---|
| 57 | * |
---|
| 58 | * @return |
---|
| 59 | */ |
---|
| 60 | ISelection createNewSelection(); |
---|
[439] | 61 | |
---|
[1146] | 62 | /** |
---|
| 63 | * |
---|
| 64 | * @return |
---|
| 65 | */ |
---|
| 66 | ITaskInstance createNewTaskInstance(ITask task); |
---|
[439] | 67 | |
---|
[1146] | 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 | |
---|
[439] | 87 | } |
---|