class OperationConfiguration extends AbstractConfiguration {

    public OperationMode getOperationMode() {
        LOG.debug("Call operation status API.");
        OperationMode status = null;

        JSONObject o = getterRequest(STATUS_GETTER_URL_POSTFIX);
        if (o != null) {
            Boolean proxyMode = (Boolean) o.get("proxyMode");
            Boolean stubMode = (Boolean) o.get("stubMode");
            Boolean wilmaMode = (Boolean) o.get("wilmaMode");

            if (proxyMode) {
                status = OperationMode.PROXY;
            }
            if (stubMode) {
                status = OperationMode.STUB;
            }
            if (wilmaMode) {
                status = OperationMode.WILMA;
            }
        }
        return status;
    }

    public  OperationConfiguration(WilmaServiceConfig config);
    public  OperationConfiguration(WilmaServiceConfig config, WilmaHttpClient client);

}