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 | * This temporal relationship defines that its single child may or may not be executed for |
---|
20 | * fulfilling the task. This is most important for the parent node in the task model as this |
---|
21 | * node may require that a specific subtask is optional. |
---|
22 | * </p> |
---|
23 | * |
---|
24 | * @author Patrick Harms |
---|
25 | */ |
---|
26 | public interface IOptional extends IMarkingTemporalRelationship { |
---|
27 | |
---|
28 | /** |
---|
29 | * <p> |
---|
30 | * returns an exact copy of this temporal relationship. The clone has the same id. Its child |
---|
31 | * is a clone of the child of the cloned task. A call on the method {@link #equals(ITask)} |
---|
32 | * with the result of this method must return true. |
---|
33 | * </p> |
---|
34 | * |
---|
35 | * @return as described |
---|
36 | */ |
---|
37 | public IOptional clone(); |
---|
38 | |
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.