Package com.atlassian.bamboo.utils
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:- Bamboo configuration folder - iff bootstrapManager is passed
- Currently running directory
- From the classpath
-
-
Constructor Summary
Constructors Constructor Description ResourceResolver(@Nullable BootstrapManager bootstrapManager)
-
-
-
Constructor Detail
-
ResourceResolver
public ResourceResolver(@Nullable @Nullable BootstrapManager bootstrapManager)
-
-
Method Detail
-
findResource
@Nullable public @Nullable URL findResource(@NotNull @NotNull String resourceName)
- Parameters:
resourceName
-- Returns:
- Throws:
IllegalArgumentException
- if resourceName is null
-
-