Last change
on this file since 1167 was
1146,
checked in by pharms, 11 years ago
|
- complete refactoring of task tree model with a separation of task models and task instances
- appropriate adaptation of task tree generation process
- appropriate adaptation of commands and task tree visualization
|
File size:
1.5 KB
|
Rev | Line | |
---|
[1146] | 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.treeimpl;
|
---|
| 16 |
|
---|
| 17 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITask;
|
---|
| 18 | import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskInfo;
|
---|
| 19 |
|
---|
| 20 | /**
|
---|
| 21 | * TODO comment
|
---|
| 22 | *
|
---|
| 23 | * @version $Revision: $ $Date: $
|
---|
| 24 | * @author 2011, last modified by $Author: $
|
---|
| 25 | */
|
---|
| 26 | public class TaskInfo implements ITaskInfo {
|
---|
| 27 |
|
---|
| 28 | /** */ |
---|
| 29 | private static final long serialVersionUID = 1L; |
---|
| 30 | |
---|
| 31 | /** */
|
---|
| 32 | private ITask task;
|
---|
| 33 |
|
---|
| 34 | /**
|
---|
| 35 | * @param task
|
---|
| 36 | */
|
---|
| 37 | TaskInfo(ITask task) {
|
---|
| 38 | this.task = task;
|
---|
| 39 | }
|
---|
| 40 |
|
---|
| 41 | /*
|
---|
| 42 | * (non-Javadoc)
|
---|
| 43 | *
|
---|
| 44 | * @see de.ugoe.cs.tasktree.treeifc.NodeInfo#getTask()
|
---|
| 45 | */
|
---|
| 46 | @Override
|
---|
| 47 | public ITask getTask() {
|
---|
| 48 | return task;
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | /*
|
---|
| 52 | * (non-Javadoc)
|
---|
| 53 | *
|
---|
| 54 | * @see java.lang.Object#toString()
|
---|
| 55 | */
|
---|
| 56 | @Override
|
---|
| 57 | public synchronized String toString() {
|
---|
| 58 | return "NodeInfo(" + task + ")";
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.