Package com.atlassian.bamboo.utils
Class BambooRepositoryUtils
java.lang.Object
com.atlassian.bamboo.utils.BambooRepositoryUtils
Although this class is a singleton, all it's methods have been implemented as static to allow standard static method
usages anywhere in Java. The instance of this class is meant to be used in context where static access is not
possible (e.g. in Freemarker templates).
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BambooRepositoryUtils
Returns an instance ofBambooRepositoryUtils
for usage in context where static access is not possible (e.g. in Freemarker templates).static Optional<VcsBuildWarningsUpdater>
getRepositoryBuildWarningUpdater
(Long repositoryId, VcsRepositoryManager vcsRepositoryManager, RepositoryDefinitionManager repositoryDefinitionManager, org.apache.logging.log4j.Logger log)
-
Method Details
-
getInstance
Returns an instance ofBambooRepositoryUtils
for usage in context where static access is not possible (e.g. in Freemarker templates). -
getRepositoryBuildWarningUpdater
public static Optional<VcsBuildWarningsUpdater> getRepositoryBuildWarningUpdater(Long repositoryId, VcsRepositoryManager vcsRepositoryManager, RepositoryDefinitionManager repositoryDefinitionManager, org.apache.logging.log4j.Logger log) - Returns:
VcsBuildWarningsUpdater
if repository supports build warnings receiving.
-