@Service public class SVNSyncServiceImpl extends java.lang.Object implements SVNSyncService, net.nemerosa.ontrack.job.orchestrator.JobOrchestratorSupplier
| Constructor and Description |
|---|
SVNSyncServiceImpl(net.nemerosa.ontrack.model.structure.StructureService structureService,
net.nemerosa.ontrack.model.structure.PropertyService propertyService,
net.nemerosa.ontrack.model.security.SecurityService securityService,
SVNService svnService,
SVNEventDao eventDao,
org.springframework.transaction.PlatformTransactionManager transactionManager,
net.nemerosa.ontrack.job.JobScheduler jobScheduler,
BuildSvnRevisionLinkService buildSvnRevisionLinkService,
SubversionConfProperties subversionConfProperties) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<net.nemerosa.ontrack.job.JobRegistration> |
collectJobRegistrations() |
protected net.nemerosa.ontrack.job.Job |
createJob(net.nemerosa.ontrack.model.structure.Branch branch) |
protected net.nemerosa.ontrack.job.JobKey |
getSvnBuildSyncJobKey(net.nemerosa.ontrack.model.structure.Branch branch) |
protected java.util.stream.Stream<net.nemerosa.ontrack.model.structure.Branch> |
getSVNConfiguredBranches()
Gets the list of all branches, for all projects, which are properly configured for SVN.
|
SVNSyncInfoStatus |
launchSync(net.nemerosa.ontrack.model.structure.ID branchId) |
protected void |
sync(net.nemerosa.ontrack.model.structure.Branch branch,
net.nemerosa.ontrack.job.JobRunListener runListener) |
@Autowired
public SVNSyncServiceImpl(net.nemerosa.ontrack.model.structure.StructureService structureService,
net.nemerosa.ontrack.model.structure.PropertyService propertyService,
net.nemerosa.ontrack.model.security.SecurityService securityService,
SVNService svnService,
SVNEventDao eventDao,
org.springframework.transaction.PlatformTransactionManager transactionManager,
net.nemerosa.ontrack.job.JobScheduler jobScheduler,
BuildSvnRevisionLinkService buildSvnRevisionLinkService,
SubversionConfProperties subversionConfProperties)
public SVNSyncInfoStatus launchSync(net.nemerosa.ontrack.model.structure.ID branchId)
launchSync in interface SVNSyncServiceprotected void sync(net.nemerosa.ontrack.model.structure.Branch branch,
net.nemerosa.ontrack.job.JobRunListener runListener)
public java.util.stream.Stream<net.nemerosa.ontrack.job.JobRegistration> collectJobRegistrations()
collectJobRegistrations in interface net.nemerosa.ontrack.job.orchestrator.JobOrchestratorSupplierprotected net.nemerosa.ontrack.job.Job createJob(net.nemerosa.ontrack.model.structure.Branch branch)
protected net.nemerosa.ontrack.job.JobKey getSvnBuildSyncJobKey(net.nemerosa.ontrack.model.structure.Branch branch)
protected java.util.stream.Stream<net.nemerosa.ontrack.model.structure.Branch> getSVNConfiguredBranches()