| | |
| | | public class StationPathResolvedPolicy implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | private String scoreMode = "legacy"; |
| | | private String scoreMode = "twoStage"; |
| | | private String defaultProfileCode = "default"; |
| | | private BasStationPathProfile profileEntity; |
| | | private BasStationPathRule ruleEntity; |
| | | private StationPathProfileConfig profileConfig = StationPathProfileConfig.defaultConfig(); |
| | | private StationPathRuleConfig ruleConfig = new StationPathRuleConfig(); |
| | | |
| | | public boolean useTwoStage() { |
| | | return "twoStage".equalsIgnoreCase(scoreMode); |
| | | } |
| | | |
| | | public boolean matchedRule() { |
| | | return ruleEntity != null; |