Skip to content
Permalink
Browse files
[JENKINS-51523] Implement new methods on stub
  • Loading branch information
carlossg committed May 24, 2018
1 parent 479c7ce commit 706b58c0545b1d056abbca3bd736bfbabf13f9d5
@@ -60,11 +60,9 @@ public enum HttpMethod {
public abstract String getContainer();

/** A constant to define whether we should delete blobs or leave them to be managed on the blob service side. */
@NonNull
public abstract boolean isDeleteBlobs();

/** A constant to define whether we should delete stashes or leave them to be managed on the blob service side. */
@NonNull
public abstract boolean isDeleteStashes();

/** Creates the jclouds handle for working with blobs. */
@@ -119,6 +119,14 @@ public String getContainer() {
return delegate.getContainer();
}
@Override
public boolean isDeleteBlobs() {
return false;
}
@Override
public boolean isDeleteStashes() {
return false;
}
@Override
public BlobStoreContext getContext() throws IOException {
return delegate.getContext();
}

0 comments on commit 706b58c

Please sign in to comment.