public class URLResourceHolder extends Object implements ResourceHolder<URL>
Resource contents SHA1 is used to determine if the resource has changed compared to the previous build.
| Constructor and Description |
|---|
URLResourceHolder(URL url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
URL |
getResource()
Returns resource handle, the resource does not have to exist.
|
ResourceStatus |
getStatus() |
int |
hashCode() |
public URLResourceHolder(URL url) throws IOException
IOExceptionpublic URL getResource()
ResourceHoldergetResource in interface ResourceHolder<URL>public ResourceStatus getStatus()
getStatus in interface ResourceHolder<URL>Copyright © 2015. All rights reserved.