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 configiration folder - iff bootstrapManager is passed
- Currently running directory
- From the classpath
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceResolver
public ResourceResolver(@Nullable
BootstrapManager bootstrapManager)
findResource
@Nullable
public URL findResource(@NotNull
String resourceName)
- Parameters:
resourceName
-
- Returns:
-
- Throws:
IllegalArgumentException
- if resourceName is null
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.