|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.chains.ChainConversionServiceImpl
public class ChainConversionServiceImpl
Constructor Summary | |
---|---|
ChainConversionServiceImpl(TestsManager testsManager,
LabelManager labelManager,
AuditLogService auditLogService,
CommentManager commentManager,
com.atlassian.bandana.BandanaPersister bandanaPersister)
|
Method Summary | |
---|---|
void |
copyAuditLog(Plan from,
Plan to)
Copies the audit log from one plan to another. |
void |
copyBandanaData(Plan from,
Plan to)
Copies bandana data from one plan to another. |
void |
copyBuildNumbersAndVcsRevisionKeys(Plan from,
Plan to)
Copies the build numbers and vcs revision keys from one plan to another |
void |
copyComments(ResultsSummary from,
ResultsSummary to)
Copies comments from one result summary to another. |
void |
copyLabels(Plan from,
Plan to)
Copies plan level labels from one plan to another. |
void |
copyLabels(ResultsSummary from,
ResultsSummary to)
Copies labels from one result summary to another. |
void |
copyResultDetails(ResultsSummary from,
ResultsSummary to)
|
void |
swapNotificationRules(Chain chain)
Looks up the notification rules against the chain and based on the predefined mapping rules swaps out some for others |
void |
updateChainResultFromResult(ResultsSummary originalResult,
ResultsSummary chainResult)
Populate the chain result object with any data required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChainConversionServiceImpl(TestsManager testsManager, LabelManager labelManager, AuditLogService auditLogService, CommentManager commentManager, com.atlassian.bandana.BandanaPersister bandanaPersister)
Method Detail |
---|
public void copyBuildNumbersAndVcsRevisionKeys(@NotNull Plan from, @NotNull Plan to)
ChainConversionService
copyBuildNumbersAndVcsRevisionKeys
in interface ChainConversionService
from
- the plan to copy fromto
- the plan to copy topublic void copyAuditLog(@NotNull Plan from, @NotNull Plan to)
ChainConversionService
copyAuditLog
in interface ChainConversionService
from
- the plan to copy fromto
- the plan to copy topublic void copyLabels(@NotNull Plan from, @NotNull Plan to)
ChainConversionService
copyLabels
in interface ChainConversionService
from
- the plan to copy fromto
- the plan to copy topublic void copyBandanaData(@NotNull Plan from, @NotNull Plan to)
ChainConversionService
copyBandanaData
in interface ChainConversionService
from
- the plan to copy fromto
- the plan to copy topublic void updateChainResultFromResult(@NotNull ResultsSummary originalResult, @NotNull ResultsSummary chainResult)
ChainConversionService
updateChainResultFromResult
in interface ChainConversionService
originalResult
- result to copy fromchainResult
- result to copy topublic void copyResultDetails(@NotNull ResultsSummary from, @NotNull ResultsSummary to)
public void copyLabels(@NotNull ResultsSummary from, @NotNull ResultsSummary to)
ChainConversionService
copyLabels
in interface ChainConversionService
from
- result summary to copy fromto
- result summary to copy topublic void copyComments(@NotNull ResultsSummary from, @NotNull ResultsSummary to)
ChainConversionService
copyComments
in interface ChainConversionService
from
- result summary to copy fromto
- result summary to copy topublic void swapNotificationRules(Chain chain)
ChainConversionService
swapNotificationRules
in interface ChainConversionService
chain
- to update notifications for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |