@ApplicationScoped public class GitRepositoryFactoryHelper extends Object implements RepositoryFactoryHelper
Constructor and Description |
---|
GitRepositoryFactoryHelper() |
GitRepositoryFactoryHelper(IOService indexedIOService,
IOService notIndexedIOService,
SpacesAPI spacesAPI,
javax.enterprise.event.Event<RepositoryExternalUpdateEvent> repositoryExternalUpdate,
PostCommitNotificationService postCommitNotificationService,
BranchAccessAuthorizer branchAccessAuthorizer) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(RepositoryInfo repositoryInfo) |
Repository |
newRepository(RepositoryInfo repositoryInfo) |
public GitRepositoryFactoryHelper()
@Inject public GitRepositoryFactoryHelper(@Named(value="ioStrategy") IOService indexedIOService, @Named(value="configIO") IOService notIndexedIOService, SpacesAPI spacesAPI, javax.enterprise.event.Event<RepositoryExternalUpdateEvent> repositoryExternalUpdate, PostCommitNotificationService postCommitNotificationService, BranchAccessAuthorizer branchAccessAuthorizer)
public boolean accept(RepositoryInfo repositoryInfo)
accept
in interface RepositoryFactoryHelper
public Repository newRepository(RepositoryInfo repositoryInfo)
newRepository
in interface RepositoryFactoryHelper
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.