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

Last change on this file since 1287 was 1287, checked in by pharms, 11 years ago
  • added counting of task occurrences
File size: 1.3 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 * yet more or less unused, this class will in the future provide extended information about a
22 * specific task, such as statistics about task occurrences, etc.
23 * </p>
24 *
25 * @author Patrick Harms
26 */
27public interface ITaskInfo extends Serializable {
28
29    /**
30     * <p>
31     * returns the task to which these infos belong
32     * </p>
33     *
34     * @return as described
35     */
36    public ITask getTask();
37
38    /**
39     * <p>
40     * returns the number of times a task occurred
41     * </p>
42     *
43     * @return as described
44     */
45    public int getCount();
46
47}
Note: See TracBrowser for help on using the repository browser.