
com.automationrockstars.gunter.events.impl.TestExecutionStartImpl Maven / Gradle / Ivy
The newest version!
/*
*
*/
package com.automationrockstars.gunter.events.impl;
import com.automationrockstars.gunter.EventType;
import com.automationrockstars.gunter.events.TestExecutionStart;
import com.google.common.collect.Maps;
import java.util.Collections;
import java.util.Map;
public class TestExecutionStartImpl extends AbstractTestEvent implements TestExecutionStart {
private Map parameters = Maps.newHashMap();
public TestExecutionStartImpl(String parentId) {
super(parentId);
}
public TestExecutionStartImpl() {
super();
}
/* (non-Javadoc)
* @see com.automationrockstars.gunter.events.impl.TestExecutionStart#getExecutinName()
*/
public String getExecutionName() {
return getAttribute(TE_NAME);
}
/* (non-Javadoc)
* @see com.automationrockstars.gunter.events.impl.TestExecutionStart#setExecutionName(java.lang.String)
*/
public void setExecutionName(String name) {
attributes().put(TE_NAME, name);
}
public EventType getType() {
return EventType.EXECUTION_START;
}
@Override
public Map getParameters() {
return Collections.unmodifiableMap(parameters);
}
@Override
public void setParameters(Map params) {
this.parameters = params;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy