Decision.java
上传用户:qing5858
上传日期:2015-10-27
资源大小:6056k
文件大小:1k
源码类别:

搜索引擎

开发平台:

Java

  1. package net.javacoding.jspider.api.model;
  2. /**
  3.  *
  4.  * $Id: Decision.java,v 1.1 2003/03/09 09:25:22 vanrogu Exp $
  5.  *
  6.  * @author G黱ther Van Roey
  7.  */
  8. public interface Decision {
  9.     public static final int RULE_DONTCARE = 0;
  10.     public static final int RULE_ACCEPT = 1;
  11.     public static final int RULE_IGNORE = 2;
  12.     public static final int RULE_FORBIDDEN = 3;
  13.     public boolean isVetoable();
  14.     public int getDecision();
  15.     public String getComment();
  16.     public void addStep ( String rule, int ruleType, int type, String comment );
  17.     public void merge(Decision other);
  18.     public void change ( Decision other );
  19.     public DecisionStep[] getSteps ( );
  20. }