public class TestMethodConfigurationSection extends SectionEvent<TestMethodConfigurationSection,ConfigurationReport,TestMethodSection> implements Standalone
SectionEvent
that represents section for ConfigurationReport
s within a TestMethodReport
Constructor and Description |
---|
TestMethodConfigurationSection()
Creates an instance of
TestMethodConfigurationSection |
TestMethodConfigurationSection(ConfigurationReport configuration)
Creates an instance of
TestMethodConfigurationSection with the given ConfigurationReport |
TestMethodConfigurationSection(ConfigurationReport configuration,
String configurationId)
Creates an instance of
TestMethodConfigurationSection with with the given ConfigurationReport
and an id represented by the given configurationId |
TestMethodConfigurationSection(ConfigurationReport configuration,
String configurationId,
Method testMethod)
Creates an instance of
TestMethodConfigurationSection with with the given id and given ConfigurationReport
It also stores the given test method for identifying parental section. |
TestMethodConfigurationSection(ConfigurationReport configuration,
String configurationId,
Method testMethod,
String testSuiteId)
Creates an instance of
TestMethodConfigurationSection with with the given id and given ConfigurationReport
It also stores the given test method and test suite for identifying parental section. |
TestMethodConfigurationSection(String configurationId)
Creates an instance of
TestMethodConfigurationSection with the given id. |
TestMethodConfigurationSection(String configurationId,
Method testMethod)
Creates an instance of
TestMethodConfigurationSection with the given id. |
TestMethodConfigurationSection(String configurationId,
Method testMethod,
String testSuiteId)
Creates an instance of
TestMethodConfigurationSection with the given id. |
Modifier and Type | Method and Description |
---|---|
TestMethodSection |
getParentSectionThisSectionBelongsTo()
Based on information that are set, creates and returns an instance of
SectionEvent implementation
that represents a parent section this section belongs to |
Class<ConfigurationReport> |
getReportTypeClass()
Returns a
Report class that is default payload of this SectionEvent |
String |
getTestSuiteId()
Returns a test suite id of the
TestSuiteSection this section belongs to |
void |
setTestSuiteId(String testSuiteId)
Sets a test suite id of the
TestSuiteSection this section belongs to |
static TestMethodConfigurationSection |
standalone()
Creates an instance of
TestMethodConfigurationSection . |
static TestMethodConfigurationSection |
standalone(ConfigurationReport configurationReport)
Creates an instance of
TestMethodConfigurationSection with the given ConfigurationReport . |
static TestMethodConfigurationSection |
standalone(ConfigurationReport configurationReport,
Method testMethod)
Creates an instance of
TestMethodConfigurationSection with the given ConfigurationReport . |
static TestMethodConfigurationSection |
standalone(ConfigurationReport configurationReport,
Method testMethod,
String testSuiteId)
Creates an instance of
TestMethodConfigurationSection with the given ConfigurationReport . |
static TestMethodConfigurationSection |
standalone(Method testMethod)
Creates an instance of
TestMethodConfigurationSection with the given test method that is stored to identify a parental section. |
static TestMethodConfigurationSection |
standalone(Method testMethod,
String testSuiteId)
Creates an instance of
TestMethodConfigurationSection with the given test method and test suite id that are stored
to identify a parental section. |
getReport, getSectionId, identifyYourself, isContainsSubReport, setContainsSubReport, setReport, setSectionId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStandaloneId
public TestMethodConfigurationSection()
TestMethodConfigurationSection
public TestMethodConfigurationSection(String configurationId)
TestMethodConfigurationSection
with the given id.configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
public TestMethodConfigurationSection(String configurationId, Method testMethod)
TestMethodConfigurationSection
with the given id.
It also stores the given test method for identifying parental section.configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.public TestMethodConfigurationSection(String configurationId, Method testMethod, String testSuiteId)
TestMethodConfigurationSection
with the given id.
It also stores the given test method and test suite for identifying parental section.configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.testSuiteId
- An id of a test suite the ConfigurationReport
belongs to.public TestMethodConfigurationSection(ConfigurationReport configuration)
TestMethodConfigurationSection
with the given ConfigurationReport
configuration
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
public TestMethodConfigurationSection(ConfigurationReport configuration, String configurationId)
TestMethodConfigurationSection
with with the given ConfigurationReport
and an id represented by the given configurationIdconfiguration
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
public TestMethodConfigurationSection(ConfigurationReport configuration, String configurationId, Method testMethod)
TestMethodConfigurationSection
with with the given id and given ConfigurationReport
It also stores the given test method for identifying parental section.configuration
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.public TestMethodConfigurationSection(ConfigurationReport configuration, String configurationId, Method testMethod, String testSuiteId)
TestMethodConfigurationSection
with with the given id and given ConfigurationReport
It also stores the given test method and test suite for identifying parental section.configuration
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
configurationId
- A configuration id to be used to identify the TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.testSuiteId
- An id of a test suite the ConfigurationReport
belongs to.public static TestMethodConfigurationSection standalone()
TestMethodConfigurationSection
.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.
The given.public static TestMethodConfigurationSection standalone(Method testMethod)
TestMethodConfigurationSection
with the given test method that is stored to identify a parental section.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.
The given.testMethod
- A test method the ConfigurationReport
belongs to.public static TestMethodConfigurationSection standalone(Method testMethod, String testSuiteId)
TestMethodConfigurationSection
with the given test method and test suite id that are stored
to identify a parental section.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.
The given .testMethod
- A test method the ConfigurationReport
belongs to.testSuiteId
- An id of a test suite the ConfigurationReport
belongs to.public static TestMethodConfigurationSection standalone(ConfigurationReport configurationReport)
TestMethodConfigurationSection
with the given ConfigurationReport
.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.configurationReport
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
public static TestMethodConfigurationSection standalone(ConfigurationReport configurationReport, Method testMethod)
TestMethodConfigurationSection
with the given ConfigurationReport
.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.
The given test method is stored to identify a parental section.configurationReport
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.public static TestMethodConfigurationSection standalone(ConfigurationReport configurationReport, Method testMethod, String testSuiteId)
TestMethodConfigurationSection
with the given ConfigurationReport
.
This section is treated as a standalone one which means that it won't be registered in the section tree and the report
won't be merged with any existing one, so it will be added in the list of configuration reports no matter what type it is.
The given test method and test suite id are stored to identify a parental section.configurationReport
- A ConfigurationReport
that should be contained as the payload of this TestMethodConfigurationSection
testMethod
- A test method the ConfigurationReport
belongs to.testSuiteId
- An id of a test suite the ConfigurationReport
belongs to.public TestMethodSection getParentSectionThisSectionBelongsTo()
SectionEvent
SectionEvent
implementation
that represents a parent section this section belongs togetParentSectionThisSectionBelongsTo
in class SectionEvent<TestMethodConfigurationSection,ConfigurationReport,TestMethodSection>
SectionEvent
implementation that represents a parent section this section belongs topublic Class<ConfigurationReport> getReportTypeClass()
SectionEvent
Report
class that is default payload of this SectionEvent
getReportTypeClass
in class SectionEvent<TestMethodConfigurationSection,ConfigurationReport,TestMethodSection>
Report
class that is default payload of this SectionEvent
public void setTestSuiteId(String testSuiteId)
TestSuiteSection
this section belongs totestSuiteId
- A test suite id of the TestSuiteSection
this section belongs topublic String getTestSuiteId()
TestSuiteSection
this section belongs toTestSuiteSection
this section belongs toCopyright © 2017 JBoss by Red Hat. All rights reserved.