public class BuildResultSummaryMapper extends AbstractResultSummaryMapper<BuildResultsSummary>
BambooStAXMappingHelper.None
Modifier and Type | Field and Description |
---|---|
static String |
XML_ROOT |
buildable, buildResultsSummaryDao, buildResultWarningSummaryMapper, BUILDSUMMARY_XML_MARKED_FOR_DELETION, labelMap, project, variableContextBaselineDao
transactionOperations
Constructor and Description |
---|
BuildResultSummaryMapper(org.hibernate.SessionFactory sessionFactory,
BuildResultsSummaryDao buildResultsSummaryDao,
VariableContextBaselineDao variableContextBaselineDao,
BuildResultWarningSummaryMapper buildResultWarningSummaryMapper,
Plan plan,
Project project,
Map<Long,Label> labelMap,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
BuildResultSummaryMapper(org.hibernate.SessionFactory sessionFactory,
BuildResultsSummaryDao buildResultsSummaryDao,
VariableContextBaselineDao variableContextBaselineDao,
BuildResultWarningSummaryMapper warningSummaryMapper,
Project project,
Map<Long,Label> labelMap,
org.springframework.transaction.support.TransactionOperations transactionOperations,
ChainResultsSummary chainResult,
long stageResultId) |
Modifier and Type | Method and Description |
---|---|
protected BuildResultsSummary |
createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Creates empty instance of the imported object
|
protected void |
exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
BuildResultsSummary buildResultsSummary,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
protected void |
importProperties(BuildResultsSummary buildResultSummary,
org.codehaus.staxmate.in.SMInputCursor cursor,
org.hibernate.Session session)
Import properties to the object.
|
afterImportListItem, getLabels
beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, getXmlRootNodeName, importListXml, importListXml, importListXmlInTransaction
exportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportXml, importXml
public static final String XML_ROOT
public BuildResultSummaryMapper(org.hibernate.SessionFactory sessionFactory, BuildResultsSummaryDao buildResultsSummaryDao, VariableContextBaselineDao variableContextBaselineDao, BuildResultWarningSummaryMapper buildResultWarningSummaryMapper, Plan plan, Project project, Map<Long,Label> labelMap, @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
public BuildResultSummaryMapper(org.hibernate.SessionFactory sessionFactory, BuildResultsSummaryDao buildResultsSummaryDao, VariableContextBaselineDao variableContextBaselineDao, BuildResultWarningSummaryMapper warningSummaryMapper, Project project, Map<Long,Label> labelMap, org.springframework.transaction.support.TransactionOperations transactionOperations, ChainResultsSummary chainResult, long stageResultId)
protected void exportProperties(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull BuildResultsSummary buildResultsSummary, @NotNull org.hibernate.Session session, ExportDetailsBean exportDetailsBean) throws Exception
BambooStAXMappingHelperAbstractImpl
exportProperties
in class AbstractResultSummaryMapper<BuildResultsSummary>
outputElement
- the parent nodebuildResultsSummary
- object being exportedsession
- Hibernate session objectException
- when something went wrongprotected void importProperties(@NotNull BuildResultsSummary buildResultSummary, @NotNull org.codehaus.staxmate.in.SMInputCursor cursor, @NotNull org.hibernate.Session session) throws Exception
BambooStAXMappingHelperAbstractImpl
importProperties
in class AbstractResultSummaryMapper<BuildResultsSummary>
buildResultSummary
- object being importedcursor
- input cursor pointing to the child node of node that was passed to importXml methodsession
- Hibernate session objectException
- when something went wrong@NotNull protected BuildResultsSummary createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImpl
createItemInstance
in class BambooStAXMappingHelperAbstractImpl<BuildResultsSummary,BuildResultsSummary>
inputCursor
- input cursor that points to the parent node containing object propertiesXMLStreamException
- when something went wrongException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.