@Override
public String getPolicyName() {
if(policyName!=null && policyName.contains(".xml")){
- return (policyName.substring(0, policyName.substring(0, policyName.lastIndexOf('.')).lastIndexOf('.')));
+ return policyName.substring(0, policyName.substring(0, policyName.lastIndexOf('.')).lastIndexOf('.'));
}
return policyName;
}
public void setOther(String other) {
this.other = other;
}
-
+ @Override
public PolicyDecision getDecision() {
return policyDecision;
}
public void setDetails(String details){
this.details = details;
}
-
+ @Override
public String getDetails(){
return details;
}
-
+ @Override
public PolicyConfigType getPolicyType() {
return type;
}