public class JobMapper extends AbstractPlanMapper<Job>
BambooStAXMappingHelper.NoneauthorMap, labelMap, labels, notificationSetMapper, planBuildNumbers, planDao, planRepositoryLinkDao, planVcsRevisionHistoryDao, project, repositoryDefinitionDaotransactionOperations| Constructor and Description |
|---|
JobMapper(org.hibernate.SessionFactory sessionFactory,
Project project,
Map<Long,Label> labelMap,
Map<Long,ExtendedAuthor> authorMap,
BuildResultsSummaryDao buildResultsSummaryDao,
BuildResultWarningSummaryDao buildResultWarningSummaryDao,
PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
PlanDao planDao,
VariableContextBaselineDao variableContextBaselineDao,
RepositoryDefinitionDao repositoryDefinitionDao,
PlanRepositoryLinkDao planRepositoryLinkDao,
NotificationSetMapper notificationSetMapper,
RequirementSetMapper requirementSetMapper,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterImportListItem(org.codehaus.staxmate.in.SMInputCursor inputCursor,
List<Job> plans,
Job job,
long objectIndex,
org.hibernate.Session session)
Called after parser completes parsing all child nodes in list's element node.
|
Job |
createPlanEntity() |
protected void |
exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
Job job,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
protected void |
importProperties(Job job,
org.codehaus.staxmate.in.SMInputCursor inputCursor,
org.hibernate.Session session)
Import properties to the object.
|
createItemInstancebeforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, getXmlRootNodeName, importListXml, importListXml, importListXmlInTransactionexportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportXml, importXmlpublic JobMapper(@NotNull
org.hibernate.SessionFactory sessionFactory,
@NotNull
Project project,
@NotNull
Map<Long,Label> labelMap,
@NotNull
Map<Long,ExtendedAuthor> authorMap,
@NotNull
BuildResultsSummaryDao buildResultsSummaryDao,
BuildResultWarningSummaryDao buildResultWarningSummaryDao,
@NotNull
PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
@NotNull
PlanDao planDao,
@NotNull
VariableContextBaselineDao variableContextBaselineDao,
@NotNull
RepositoryDefinitionDao repositoryDefinitionDao,
@NotNull
PlanRepositoryLinkDao planRepositoryLinkDao,
@NotNull
NotificationSetMapper notificationSetMapper,
@NotNull
RequirementSetMapper requirementSetMapper,
@NotNull
org.springframework.transaction.support.TransactionOperations transactionOperations)
public Job createPlanEntity()
createPlanEntity in class AbstractPlanMapper<Job>protected void exportProperties(@NotNull
org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull
Job job,
@NotNull
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
throws Exception
BambooStAXMappingHelperAbstractImplexportProperties in class AbstractPlanMapper<Job>outputElement - the parent nodejob - object being exportedsession - Hibernate session objectException - when something went wrongprotected void importProperties(@NotNull
Job job,
@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull
org.hibernate.Session session)
throws Exception
BambooStAXMappingHelperAbstractImplimportProperties in class AbstractPlanMapper<Job>job - object being importedinputCursor - input cursor pointing to the child node of node that was passed to importXml methodsession - Hibernate session objectException - when something went wrongpublic void afterImportListItem(@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull
List<Job> plans,
@NotNull
Job job,
long objectIndex,
@NotNull
org.hibernate.Session session)
throws Exception
BambooStAXMappingListHelperAbstractImplafterImportListItem in class BambooStAXMappingListHelperAbstractImpl<Job,Job>inputCursor - cursor pointing to the list's element opening nodeplans - list of elements being importedjob - object that has been importedobjectIndex - one-based index of the object being parsedsession - Hibernate session objectException - when something went wrongCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.