Class BambooRepositoryUtils


  • public class BambooRepositoryUtils
    extends Object
    Utility methods for operating on repositories.

    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 Detail

      • getInstance

        @NotNull
        public static @NotNull BambooRepositoryUtils getInstance()
        Returns an instance of BambooRepositoryUtils for usage in context where static access is not possible (e.g. in Freemarker templates).
      • isRepositoryTestConnectionAware

        public static boolean isRepositoryTestConnectionAware​(@Nullable
                                                              @Nullable Repository repository)
        Returns true if the given Repository supports connection testing.
        Parameters:
        repository - repository instance to verify
        Returns:
        true if repository supports connection testing