KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > javacoding > jspider > api > model > Decision


1 package net.javacoding.jspider.api.model;
2
3
4 /**
5  *
6  * $Id: Decision.java,v 1.1 2003/03/09 09:25:22 vanrogu Exp $
7  *
8  * @author Günther Van Roey
9  */

10 public interface Decision {
11
12     public static final int RULE_DONTCARE = 0;
13     public static final int RULE_ACCEPT = 1;
14     public static final int RULE_IGNORE = 2;
15     public static final int RULE_FORBIDDEN = 3;
16
17     public boolean isVetoable();
18
19     public int getDecision();
20
21     public String JavaDoc getComment();
22
23     public void addStep ( String JavaDoc rule, int ruleType, int type, String JavaDoc comment );
24
25     public void merge(Decision other);
26
27     public void change ( Decision other );
28
29     public DecisionStep[] getSteps ( );
30
31 }
32
Popular Tags