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

net.serenitybdd.rest.event.RecordRestQueryEvent Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
package net.serenitybdd.rest.event;

import net.serenitybdd.model.rest.RestQuery;
import net.thucydides.core.steps.events.StepEventBusEventBase;

public class RecordRestQueryEvent extends StepEventBusEventBase {

	RestQuery restQuery;

	public RecordRestQueryEvent(RestQuery restQuery) {
		this.restQuery = restQuery;
	}

	@Override
	public void play() {
		getStepEventBus().getBaseStepListener().recordRestQuery(restQuery);
	}

	public String toString() {
		return("EventBusEvent RECORD_REST_QUERY_EVENT " + restQuery);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy