ru.yandex.qatools.allure.events.ObjectFactory Maven / Gradle / Ivy
package ru.yandex.qatools.allure.events;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the ru.yandex.qatools.allure.events package.
* An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _TestCaseStartedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-case-started-event");
private final static QName _MakeAttachEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "make-attach-event");
private final static QName _ClearTestStorageEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "clear-test-storage-event");
private final static QName _TestSuiteStartedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-suite-started-event");
private final static QName _StepCanceledEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "step-canceled-event");
private final static QName _TestCaseStatusChangeEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-case-status-change-event");
private final static QName _TestCaseAddParameterEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-case-add-parameter-event");
private final static QName _ClearStepStorageEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "clear-step-storage-event");
private final static QName _TestSuiteFinishedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-suite-finished-event");
private final static QName _TestCaseFinishedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "test-case-finished-event");
private final static QName _StepFinishedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "step-finished-event");
private final static QName _StepStartedEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "step-started-event");
private final static QName _StepFailureEvent_QNAME = new QName("urn:events.allure.qatools.yandex.ru", "step-failure-event");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ru.yandex.qatools.allure.events
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link ClearTestStorageEvent }
*
*/
public ClearTestStorageEvent createClearTestStorageEvent() {
return new ClearTestStorageEvent();
}
/**
* Create an instance of {@link ClearStepStorageEvent }
*
*/
public ClearStepStorageEvent createClearStepStorageEvent() {
return new ClearStepStorageEvent();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestCaseStartedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-case-started-event")
public JAXBElement createTestCaseStartedEvent(AbstractTestCaseStartedEvent value) {
return new JAXBElement(_TestCaseStartedEvent_QNAME, AbstractTestCaseStartedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractMakeAttachEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "make-attach-event")
public JAXBElement createMakeAttachEvent(AbstractMakeAttachEvent value) {
return new JAXBElement(_MakeAttachEvent_QNAME, AbstractMakeAttachEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ClearTestStorageEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "clear-test-storage-event")
public JAXBElement createClearTestStorageEvent(ClearTestStorageEvent value) {
return new JAXBElement(_ClearTestStorageEvent_QNAME, ClearTestStorageEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestSuiteStartedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-suite-started-event")
public JAXBElement createTestSuiteStartedEvent(AbstractTestSuiteStartedEvent value) {
return new JAXBElement(_TestSuiteStartedEvent_QNAME, AbstractTestSuiteStartedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractStepCanceledEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "step-canceled-event")
public JAXBElement createStepCanceledEvent(AbstractStepCanceledEvent value) {
return new JAXBElement(_StepCanceledEvent_QNAME, AbstractStepCanceledEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestCaseStatusChangeEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-case-status-change-event")
public JAXBElement createTestCaseStatusChangeEvent(AbstractTestCaseStatusChangeEvent value) {
return new JAXBElement(_TestCaseStatusChangeEvent_QNAME, AbstractTestCaseStatusChangeEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestCaseAddParameterEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-case-add-parameter-event")
public JAXBElement createTestCaseAddParameterEvent(AbstractTestCaseAddParameterEvent value) {
return new JAXBElement(_TestCaseAddParameterEvent_QNAME, AbstractTestCaseAddParameterEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ClearStepStorageEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "clear-step-storage-event")
public JAXBElement createClearStepStorageEvent(ClearStepStorageEvent value) {
return new JAXBElement(_ClearStepStorageEvent_QNAME, ClearStepStorageEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestSuiteFinishedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-suite-finished-event")
public JAXBElement createTestSuiteFinishedEvent(AbstractTestSuiteFinishedEvent value) {
return new JAXBElement(_TestSuiteFinishedEvent_QNAME, AbstractTestSuiteFinishedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractTestCaseFinishedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "test-case-finished-event")
public JAXBElement createTestCaseFinishedEvent(AbstractTestCaseFinishedEvent value) {
return new JAXBElement(_TestCaseFinishedEvent_QNAME, AbstractTestCaseFinishedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractStepFinishedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "step-finished-event")
public JAXBElement createStepFinishedEvent(AbstractStepFinishedEvent value) {
return new JAXBElement(_StepFinishedEvent_QNAME, AbstractStepFinishedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractStepStartedEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "step-started-event")
public JAXBElement createStepStartedEvent(AbstractStepStartedEvent value) {
return new JAXBElement(_StepStartedEvent_QNAME, AbstractStepStartedEvent.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AbstractStepFailureEvent }{@code >}}
*
*/
@XmlElementDecl(namespace = "urn:events.allure.qatools.yandex.ru", name = "step-failure-event")
public JAXBElement createStepFailureEvent(AbstractStepFailureEvent value) {
return new JAXBElement(_StepFailureEvent_QNAME, AbstractStepFailureEvent.class, null, value);
}
}