source: trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITask.java @ 1157

Last change on this file since 1157 was 1157, checked in by adeicke, 11 years ago

Added Visitor pattern for tasks.

File size: 1.2 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 java.io.Serializable;
18
19/**
20 * <p>
21 * TODO comment
22 * </p>
23 *
24 * @author Patrick Harms
25 */
26public interface ITask extends Cloneable, Serializable {
27
28    /**
29     *
30     */
31    public int getId();
32
33    /**
34     *
35     */
36    public String getDescription();
37
38    /**
39     *
40     */
41    public boolean equals(ITask task);
42
43    /**
44     *
45     */
46    public int hashCode();
47
48    /**
49     *
50     */
51    public ITask clone();
52   
53    /**
54     *
55     */
56   public void accept(ITaskVisitor visitor);
57   
58}
Note: See TracBrowser for help on using the repository browser.