派生自 projectDept/qhighschool

胡仁荣
2022-10-31 fe7381d6e8ec1f427408de0297ac7f41533202f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.qxueyou.scc.exercise.service.impl;
 
public class ParseResult {
 
    private boolean success;
    
    /**
     * ÏÂÒ»²½³¢ÊÔ£º
     * PRE: ÍùÉϳ¢ÊÔ
     * CUR: µ±Ç°
     * NEXT: ÓÐеÄ×Ó½Úµã
     */
    private String nextStep;
    
    public static final String STEP_PRE="PRE";
    
    public static final String STEP_CUR="CUR";
    
    public static final String STEP_NEXT="NEXT";
    
    public ParseResult(boolean success,String nextStep,Node nextNode){
        this.success=success;
        this.nextStep = nextStep;
        this.nextNode = nextNode;
        
    }
    
    
    /**
     * ÓÐеĽڵãʱнڵãÒýÓÃ
     */
    private Node nextNode;
 
    public boolean isSuccess() {
        return success;
    }
 
    public void setSuccess(boolean success) {
        this.success = success;
    }
 
    public String getNextStep() {
        return nextStep;
    }
 
    public void setNextStep(String nextStep) {
        this.nextStep = nextStep;
    }
 
    public Node getNextNode() {
        return nextNode;
    }
 
    public void setNextNode(Node nextNode) {
        this.nextNode = nextNode;
    }
    
    
    
}