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

org.continuity.api.entities.artifact.JMeterTestPlanBundle Maven / Gradle / Ivy

package org.continuity.api.entities.artifact;

import java.util.Map;

import org.apache.jorphan.collections.ListedHashTree;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * @author Henning Schulz
 *
 */
public class JMeterTestPlanBundle {

	@JsonProperty("test-plan")
	@JsonSerialize(using = JMeterTestPlanSerializer.class)
	@JsonDeserialize(using = JMeterTestPlanDeserializer.class)
	private ListedHashTree testPlan;

	private Map behaviors;

	/**
	 *
	 */
	public JMeterTestPlanBundle() {
	}

	/**
	 * @param testPlan
	 * @param behaviors
	 */
	public JMeterTestPlanBundle(ListedHashTree testPlan, Map behaviors) {
		this.testPlan = testPlan;
		this.behaviors = behaviors;
	}

	/**
	 * Gets {@link #testPlan}.
	 *
	 * @return {@link #testPlan}
	 */
	public ListedHashTree getTestPlan() {
		return this.testPlan;
	}

	/**
	 * Sets {@link #testPlan}.
	 *
	 * @param testPlan
	 *            New value for {@link #testPlan}
	 */
	public void setTestPlan(ListedHashTree testPlan) {
		this.testPlan = testPlan;
	}

	/**
	 * Gets {@link #behaviors}.
	 *
	 * @return {@link #behaviors}
	 */
	public Map getBehaviors() {
		return this.behaviors;
	}

	/**
	 * Sets {@link #behaviors}.
	 *
	 * @param behaviors
	 *            New value for {@link #behaviors}
	 */
	public void setBehaviors(Map behaviors) {
		this.behaviors = behaviors;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy