net.continuumsecurity.proxy.model.ScannerInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atf-toolbox Show documentation
Show all versions of atf-toolbox Show documentation
Automation Testing Framework Toolbox Provides simple automation.
package net.continuumsecurity.proxy.model;
import org.zaproxy.clientapi.core.ApiResponseSet;
/**
* Created by stephen on 20/04/15.
*/
public class ScannerInfo {
boolean enabled;
int wascId;
int cweId;
public ScannerInfo(ApiResponseSet responseSet) {
enabled = Boolean.parseBoolean(responseSet.getStringValue("enabled"));
wascId = Integer.parseInt(responseSet.getStringValue("wascid"));
cweId = Integer.parseInt(responseSet.getStringValue("cweid"));
}
public boolean isEnabled() {
return enabled;
}
public int getWascId() {
return wascId;
}
public int getCweId() {
return cweId;
}
}