[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 |
|
---|
[922] | 17 | import de.ugoe.cs.autoquest.eventcore.IEventTarget;
|
---|
| 18 | import de.ugoe.cs.autoquest.eventcore.IEventType;
|
---|
[439] | 19 |
|
---|
| 20 | /**
|
---|
[1167] | 21 | * <p> |
---|
[1180] | 22 | * Event tasks represent single events. They have no children and are therefore the leaf nodes of |
---|
| 23 | * a task model. They provide information about the event they represent. This includes the event |
---|
[1167] | 24 | * type and the target. |
---|
| 25 | * </p>
|
---|
[557] | 26 | *
|
---|
[1167] | 27 | * @author Patrick Harms
|
---|
[439] | 28 | */
|
---|
[1146] | 29 | public interface IEventTask extends ITask {
|
---|
[557] | 30 |
|
---|
[1167] | 31 | /** |
---|
| 32 | * <p> |
---|
| 33 | * return the type of the event represented by this task |
---|
| 34 | * </p> |
---|
| 35 | *
|
---|
| 36 | * @return as described
|
---|
[557] | 37 | */
|
---|
| 38 | public IEventType getEventType();
|
---|
[439] | 39 |
|
---|
[557] | 40 | /**
|
---|
[1167] | 41 | * <p> |
---|
| 42 | * return the target of the event represented by this task |
---|
| 43 | * </p> |
---|
| 44 | * |
---|
| 45 | * @return as described |
---|
[557] | 46 | */
|
---|
| 47 | public IEventTarget getEventTarget();
|
---|
[439] | 48 |
|
---|
[557] | 49 | /**
|
---|
[1167] | 50 | * <p> |
---|
| 51 | * returns a clone of this task, i.e. another event task being identical to this. The event |
---|
| 52 | * type and target are not cloned but reused. |
---|
| 53 | * </p> |
---|
| 54 | * |
---|
| 55 | * @return as described |
---|
[557] | 56 | */
|
---|
| 57 | public IEventTask clone();
|
---|
| 58 |
|
---|
[439] | 59 | }
|
---|