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

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

Go to download

A testing agent to validate that the internal workings of Executioner are functioning.

There is a newer version: 2.0.0-19
Show newest version
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