Last change
on this file since 1394 was
1294,
checked in by pharms, 11 years ago
|
- rework of task model to move event instance stuff to task instances
- introduction of sequence, selection, iteration and optional instances
|
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 | |
---|
15 | package de.ugoe.cs.autoquest.tasktrees.treeifc; |
---|
16 | |
---|
17 | /** |
---|
18 | * <p> |
---|
19 | * TODO comment |
---|
20 | * </p> |
---|
21 | * |
---|
22 | * @author Patrick Harms |
---|
23 | */ |
---|
24 | public interface IOptionalInstance extends ITaskInstance { |
---|
25 | |
---|
26 | /** |
---|
27 | * <p> |
---|
28 | * returns the child of the optional |
---|
29 | * </p> |
---|
30 | * |
---|
31 | * @return as described |
---|
32 | */ |
---|
33 | public ITaskInstance getChild(); |
---|
34 | |
---|
35 | /** |
---|
36 | * <p> |
---|
37 | * returns the task related to the instance, i.e. the optional. |
---|
38 | * </p> |
---|
39 | * |
---|
40 | * @return as described |
---|
41 | */ |
---|
42 | public IOptional getOptional(); |
---|
43 | |
---|
44 | /** |
---|
45 | * <p> |
---|
46 | * clones this task instance by creating exact clones of each contained instance |
---|
47 | * </p> |
---|
48 | * |
---|
49 | * @return a clone of the task instance |
---|
50 | */ |
---|
51 | public IOptionalInstance clone(); |
---|
52 | |
---|
53 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.