Changeset 1146 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc
- Timestamp:
- 04/04/13 16:06:07 (11 years ago)
- Location:
- trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc
- Files:
-
- 6 added
- 1 deleted
- 6 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IEventTask.java
r1114 r1146 24 24 * @author 2011, last modified by $Author: $ 25 25 */ 26 public interface IEventTask extends ITask TreeNode{26 public interface IEventTask extends ITask { 27 27 28 28 /** -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IIteration.java
r1114 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface IIteration extends I TemporalRelationship {23 public interface IIteration extends IMarkingTemporalRelationship { 24 24 25 25 /** -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IOptional.java
r1126 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface IOptional extends I TemporalRelationship {23 public interface IOptional extends IMarkingTemporalRelationship { 24 24 25 25 /** -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ISelection.java
r1114 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface ISelection extends I TemporalRelationship {23 public interface ISelection extends IStructuringTemporalRelationship { 24 24 25 25 /** -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ISequence.java
r1114 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface ISequence extends I TemporalRelationship {23 public interface ISequence extends IStructuringTemporalRelationship { 24 24 25 25 /** -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskBuilder.java
r1126 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface ITask TreeBuilder {23 public interface ITaskBuilder { 24 24 25 25 /** 26 * 26 * @param taskInstance 27 * @param child 27 28 */ 28 void addChild(I Sequence parent, ITaskTreeNode child);29 void addChild(ITaskInstance taskInstance, ITaskInstance child) throws IllegalArgumentException; 29 30 30 31 /** 32 * <p> 33 * TODO: comment 34 * </p> 31 35 * 36 * @param session 37 * @param taskInstance 32 38 */ 33 void add Child(ISequence parent, int index, ITaskTreeNode child);39 void addExecutedTask(IUserSession session, ITaskInstance taskInstance); 34 40 35 41 /** … … 38 44 * @param i 39 45 */ 40 void setChild(ISequence parent, int index, ITaskTreeNode child); 46 void addTaskInstance(ITaskInstanceList taskInstanceList, ITaskInstance taskInstance); 47 48 /** 49 * 50 * @param parent 51 * @param i 52 */ 53 void addTaskInstance(ITaskInstanceList taskInstanceList, int index, ITaskInstance taskInstance); 54 55 /** 56 * 57 * @param parent 58 * @param i 59 */ 60 void setTaskInstance(ITaskInstanceList taskInstanceList, int index, ITaskInstance taskInstance); 61 62 /** 63 * <p> 64 * TODO: comment 65 * </p> 66 * 67 * @param instance2 68 * @param task 69 */ 70 void setTask(ITaskInstance taskInstance, ITask task); 71 72 /** 73 * 74 */ 75 void addChild(ISequence parent, ITask child); 76 77 /** 78 * 79 */ 80 void addChild(ISequence parent, int index, ITask child); 81 82 /** 83 * 84 * @param parent 85 * @param i 86 */ 87 void setChild(ISequence parent, int index, ITask child); 41 88 42 89 /** … … 44 91 * @param task 45 92 */ 46 void addChild(ISelection parent, ITask TreeNodechild);93 void addChild(ISelection parent, ITask child); 47 94 48 95 /** … … 51 98 * @param newChild 52 99 */ 53 void set Child(IIteration iteration, ITaskTreeNodenewChild);100 void setMarkedTask(IIteration iteration, ITask newChild); 54 101 55 102 /** … … 58 105 * @param newChild 59 106 */ 60 void set Child(IOptional optional, ITaskTreeNodenewChild);107 void setMarkedTask(IOptional optional, ITask newChild); 61 108 62 109 /** … … 72 119 * @param i 73 120 */ 74 void removeChild(ISelection parent, ITaskTreeNode child); 121 void removeChild(ISelection parent, ITask child); 122 123 /** 124 * 125 * @param parent 126 * @param i 127 */ 128 void removeTaskInstance(ITaskInstanceList taskInstanceList, int index); 75 129 76 130 /** … … 79 133 * @param i 80 134 */ 81 void replaceChild(ISelection parent, ITask TreeNode oldChild, ITaskTreeNodenewChild);135 void replaceChild(ISelection parent, ITask oldChild, ITask newChild); 82 136 83 137 /** … … 86 140 * @param i 87 141 */ 88 void setDescription(ITask TreeNode node, String description);142 void setDescription(ITask task, String description); 89 143 90 144 } -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.java
r1126 r1146 15 15 package de.ugoe.cs.autoquest.tasktrees.treeifc; 16 16 17 import java.util.List; 18 17 19 import de.ugoe.cs.autoquest.eventcore.IEventTarget; 18 20 import de.ugoe.cs.autoquest.eventcore.IEventType; … … 24 26 * @author 2012, last modified by $Author: patrick$ 25 27 */ 26 public interface ITaskTreeNodeFactory 27 { 28 public interface ITaskFactory { 28 29 29 /**30 *31 * @param eventType32 * @param eventTarget33 * @return34 */35 IEventTask createNewEventTask(IEventType eventType, IEventTarget eventTarget);30 /** 31 * 32 * @param eventType 33 * @param eventTarget 34 * @return 35 */ 36 IEventTask createNewEventTask(IEventType eventType, IEventTarget eventTarget); 36 37 37 /**38 *39 * @return40 */41 ISequence createNewSequence();38 /** 39 * 40 * @return 41 */ 42 ISequence createNewSequence(); 42 43 43 /**44 *45 * @return46 */47 IIteration createNewIteration();44 /** 45 * 46 * @return 47 */ 48 IIteration createNewIteration(); 48 49 49 /**50 *51 * @return52 */53 IOptional createNewOptional();50 /** 51 * 52 * @return 53 */ 54 IOptional createNewOptional(); 54 55 55 /**56 *57 * @return58 */59 ISelection createNewSelection();56 /** 57 * 58 * @return 59 */ 60 ISelection createNewSelection(); 60 61 61 /** 62 * 63 * @param rootSequence 64 * @return 65 */ 66 ITaskTree createTaskTree(ITaskTreeNode root); 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); 67 86 68 87 } -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskInstance.java
r1113 r1146 23 23 * @author 2011, last modified by $Author: $ 24 24 */ 25 public interface ITask TreeNode extends Cloneable{25 public interface ITaskInstance extends ITaskInstanceList { 26 26 27 27 /** 28 28 * 29 29 */ 30 public String getName();30 public List<ITaskInstance> getChildren(); 31 31 32 32 /** 33 33 * 34 34 */ 35 public String getDescription();35 public ITask getTask(); 36 36 37 37 /** 38 38 * 39 39 */ 40 public List<ITaskTreeNode> getChildren(); 41 42 /** 43 * 44 */ 45 public boolean equals(ITaskTreeNode taskTreeNode); 40 public boolean equals(ITaskInstance taskInstance); 46 41 47 42 /** … … 53 48 * 54 49 */ 55 public ITask TreeNode clone();56 50 public ITaskInstance clone(); 51 57 52 } -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskModel.java
r1114 r1146 15 15 package de.ugoe.cs.autoquest.tasktrees.treeifc; 16 16 17 import java.util.Map; 17 import java.io.Serializable; 18 import java.util.Collection; 19 import java.util.List; 18 20 19 21 /** … … 23 25 * @author 2012, last modified by $Author: patrick$ 24 26 */ 25 public interface ITask Tree extends Cloneable {27 public interface ITaskModel extends Cloneable, Serializable { 26 28 27 29 /** 28 30 * 29 31 */ 30 public ITaskTreeNode getRoot();32 public List<IUserSession> getUserSessions(); 31 33 32 34 /** 33 35 * 34 36 */ 35 public Map<ITaskTreeNode, ITaskTreeNodeInfo> getTaskMap();37 public Collection<ITask> getTasks(); 36 38 37 39 /** 38 40 * 39 41 */ 40 public ITaskTree clone(); 42 public ITaskInfo getTaskInfo(ITask task); 43 44 /** 45 * 46 */ 47 public ITaskModel clone(); 41 48 } -
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITemporalRelationship.java
r1113 r1146 21 21 * @author 2012, last modified by $Author: patrick$ 22 22 */ 23 public interface ITemporalRelationship extends ITask TreeNode{23 public interface ITemporalRelationship extends ITask { 24 24 25 25 /**
Note: See TracChangeset
for help on using the changeset viewer.