All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.slickqa.executioner.dummyagent.DummyAgentConfigurationImpl Maven / Gradle / Ivy

package com.slickqa.executioner.dummyagent;

import io.vertx.core.json.JsonObject;

/**
 * Implementation of dummy agent configuration based on vertx context configuration.
 */
public class DummyAgentConfigurationImpl implements DummyAgentConfiguration {
    private JsonObject config;

    public DummyAgentConfigurationImpl(JsonObject config) {
        this.config = config;
    }

    @Override
    public int getDummyAgentNumber() {
        return config.getInteger("agentNumber", 0);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy