source: branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IOptional.java @ 1733

Last change on this file since 1733 was 1733, checked in by rkrimmel, 10 years ago

Used Eclipse code cleanup

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