Changeset 1733 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/EventTask.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/treeimpl/EventTask.java
r1410 r1733 20 20 /** 21 21 * <p> 22 * this is the default implementation of the interface {@link IEventTask}. It does not do anything23 * fancy except implementing the interface.24 * </p> 22 * this is the default implementation of the interface {@link IEventTask}. It 23 * does not do anything fancy except implementing the interface. 24 * </p> 25 25 * 26 26 * @author Patrick Harms 27 27 */ 28 28 class EventTask extends Task implements IEventTask { 29 30 /**31 * <p>32 * default serial version UID33 * </p>34 */35 private static final long serialVersionUID = 1L;36 29 37 /** 38 * <p> 39 * simple constructor initializing this task with a description for the represented events 40 * </p> 41 * 42 * @param type a type for the represented events 43 */ 44 EventTask(String type) { 45 super(type); 46 } 30 /** 31 * <p> 32 * default serial version UID 33 * </p> 34 */ 35 private static final long serialVersionUID = 1L; 47 36 48 /* (non-Javadoc) 49 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.Task#clone() 50 */ 51 @Override 52 public EventTask clone() { 53 // Event type and target are unchangeable and do not need to be cloned 54 return (EventTask) super.clone(); 55 } 37 /** 38 * <p> 39 * simple constructor initializing this task with a description for the 40 * represented events 41 * </p> 42 * 43 * @param type 44 * a type for the represented events 45 */ 46 EventTask(String type) { 47 super(type); 48 } 56 49 57 /* (non-Javadoc) 58 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.Task#accept(ITaskVisitor) 59 */ 60 @Override 61 public void accept(ITaskVisitor visitor) { 62 visitor.visit(this); 63 } 50 /* 51 * (non-Javadoc) 52 * 53 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.Task#accept(ITaskVisitor) 54 */ 55 @Override 56 public void accept(ITaskVisitor visitor) { 57 visitor.visit(this); 58 } 59 60 /* 61 * (non-Javadoc) 62 * 63 * @see de.ugoe.cs.autoquest.tasktrees.treeimpl.Task#clone() 64 */ 65 @Override 66 public EventTask clone() { 67 // Event type and target are unchangeable and do not need to be cloned 68 return (EventTask) super.clone(); 69 } 64 70 65 71 }
Note: See TracChangeset
for help on using the changeset viewer.