Class ResourceResolver

java.lang.Object
com.atlassian.bamboo.utils.ResourceResolver

public class ResourceResolver extends Object
A utility class the allows a resource name to resolve a a file from:
  1. Bamboo configuration folder - iff bootstrapManager is passed
  2. Currently running directory
  3. From the classpath
  • Constructor Details

    • ResourceResolver

      public ResourceResolver(@Nullable @Nullable BootstrapManager bootstrapManager)
  • Method Details

    • findResource

      @Nullable public @Nullable URL findResource(@NotNull @NotNull String resourceName)
      Parameters:
      resourceName -
      Returns:
      Throws:
      IllegalArgumentException - if resourceName is null