Skip to content

Commit

Permalink
suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kuisathaverat committed Jun 7, 2018
1 parent dc8b373 commit 5562aae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -55,7 +55,7 @@ public enum HttpMethod {
@NonNull
public abstract String getPrefix();

/** A constant for the artifact container name to use. */
/** A constant for the blob container name to use. */
@NonNull
public abstract String getContainer();

Expand All @@ -65,7 +65,7 @@ public enum HttpMethod {
/** A constant to define whether we should delete stashes or leave them to be managed on the artifact service side. */
public abstract boolean isDeleteStashes();

/** Creates the jclouds handle for working with artifacts. */
/** Creates the jclouds handle for working with blob. */
@NonNull
public abstract BlobStoreContext getContext() throws IOException;

Expand All @@ -82,7 +82,7 @@ public enum HttpMethod {
public abstract URI toURI(@NonNull String container, @NonNull String key);

/**
* Generate a URL valid for downloading OR uploading the artifact for a limited period of time
* Generate a URL valid for downloading OR uploading the blob for a limited period of time
*
* @param blob
* blob to generate the URL for
Expand Down
Expand Up @@ -100,8 +100,8 @@ public static void doPrepareImage() throws Exception {
@Rule
public LoggerRule httpLogging = new LoggerRule();

protected ArtifactManagerFactory getArtifactManagerFactory(Boolean deleteBlobs, Boolean deleteStashes) {
return new JCloudsArtifactManagerFactory(new CustomPrefixBlobStoreProvider(provider, getPrefix(), deleteBlobs, deleteStashes));
protected ArtifactManagerFactory getArtifactManagerFactory(Boolean deleteArtifacts, Boolean deleteStashes) {
return new JCloudsArtifactManagerFactory(new CustomPrefixBlobStoreProvider(provider, getPrefix(), deleteArtifacts, deleteStashes));
}

private static final class CustomPrefixBlobStoreProvider extends BlobStoreProvider {
Expand Down

0 comments on commit 5562aae

Please sign in to comment.