source: branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IEventTaskInstance.java @ 1733

Last change on this file since 1733 was 1733, checked in by rkrimmel, 10 years ago

Used Eclipse code cleanup

File size: 1.5 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 de.ugoe.cs.autoquest.eventcore.Event;
18
19/**
20 * <p>
21 * the instance of an {@link IEventTask}. The instance refers to the concrete
22 * event it represents.
23 * </p>
24 *
25 * @author Patrick Harms
26 */
27public interface IEventTaskInstance extends ITaskInstance {
28
29        /**
30         * <p>
31         * clones this task instance by creating exact clones of itself. The
32         * referred task and event stay untouched
33         * </p>
34         *
35         * @return a clone of the task instance
36         */
37        @Override
38        public IEventTaskInstance clone();
39
40        /**
41         * <p>
42         * returns the event represented by this event task instance
43         * </p>
44         *
45         * @return as described
46         */
47        public Event getEvent();
48
49        /**
50         * <p>
51         * returns the task related to the instance, i.e. the event task.
52         * </p>
53         *
54         * @return as described
55         */
56        public IEventTask getEventTask();
57
58}
Note: See TracBrowser for help on using the repository browser.