Rev | Line | |
---|
[1294] | 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> |
---|
[1413] | 19 | * the instance of an {@link ISelection}. The instance has a child being an instance of the child |
---|
| 20 | * task of the selection that was selected for execution. |
---|
[1294] | 21 | * </p> |
---|
| 22 | * |
---|
| 23 | * @author Patrick Harms |
---|
| 24 | */ |
---|
| 25 | public interface ISelectionInstance extends ITaskInstance { |
---|
| 26 | |
---|
| 27 | /** |
---|
| 28 | * <p> |
---|
| 29 | * returns the selected child of the selection |
---|
| 30 | * </p> |
---|
| 31 | * |
---|
| 32 | * @return as described |
---|
| 33 | */ |
---|
| 34 | public ITaskInstance getChild(); |
---|
| 35 | |
---|
| 36 | /** |
---|
| 37 | * <p> |
---|
| 38 | * returns the task related to the instance, i.e. the selection. |
---|
| 39 | * </p> |
---|
| 40 | * |
---|
| 41 | * @return as described |
---|
| 42 | */ |
---|
| 43 | public ISelection getSelection(); |
---|
| 44 | |
---|
| 45 | /** |
---|
| 46 | * <p> |
---|
| 47 | * clones this task instance by creating exact clones of the contained instance |
---|
| 48 | * </p> |
---|
| 49 | * |
---|
| 50 | * @return a clone of the task instance |
---|
| 51 | */ |
---|
| 52 | public ISelectionInstance clone(); |
---|
| 53 | |
---|
| 54 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.