source: trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/temporalrelation/RuleApplicationResult.java @ 557

Last change on this file since 557 was 557, checked in by pharms, 12 years ago
  • adapted task tree creation stuff to more general event handling
  • Property svn:executable set to *
File size: 1.5 KB
RevLine 
[439]1// Module    : $RCSfile: RuleApplicationResult.java,v $
2// Version   : $Revision: 0.0 $  $Author: patrick $  $Date: 18.03.2012 $
3// Project   : TaskTreeCreator
4// Creation  : 2012 by patrick
5// Copyright : Patrick Harms, 2012
[557]6
7
[439]8package de.ugoe.cs.quest.tasktrees.temporalrelation;
9
10import java.util.ArrayList;
11import java.util.List;
12
[557]13import de.ugoe.cs.quest.tasktrees.treeifc.ITaskTreeNode;
[439]14
15/**
16 * TODO comment
17 *
18 * @version $Revision: $ $Date: 18.03.2012$
19 * @author 2012, last modified by $Author: patrick$
20 */
[557]21public class RuleApplicationResult {
[439]22
[557]23    /** */
24    private RuleApplicationStatus status = RuleApplicationStatus.RULE_NOT_APPLIED;
[439]25
[557]26    /** */
27    private List<ITaskTreeNode> newParents = new ArrayList<ITaskTreeNode>();
[439]28
[557]29    /**
30     * TODO: comment
31     *
32     * @param b
33     */
34    public RuleApplicationResult() {
35        // this is the default indicating nothing so far
36    }
[439]37
[557]38    /**
39     * TODO: comment
40     *
41     * @param b
42     */
43    public void setRuleApplicationStatus(RuleApplicationStatus status) {
44        this.status = status;
45    }
[439]46
[557]47    /**
48     * TODO: comment
49     *
50     * @return
51     */
52    public RuleApplicationStatus getRuleApplicationStatus() {
53        return status;
54    }
[439]55
[557]56    /**
57     * TODO: comment
58     *
59     * @param sequence
60     */
61    public void addNewlyCreatedParentNode(ITaskTreeNode newParent) {
62        newParents.add(newParent);
63    }
[439]64
[557]65    /**
66     * TODO: comment
67     *
68     * @return
69     */
70    public List<ITaskTreeNode> getNewlyCreatedParentNodes() {
71        return newParents;
72    }
73
[439]74}
Note: See TracBrowser for help on using the repository browser.