public class TrampolineUrlArtifactLinkDataProvider extends Object implements ArtifactLinkDataProvider
Constructor and Description |
---|
TrampolineUrlArtifactLinkDataProvider(ArtifactLinkDataProvider artifactLinkDataProvider) |
Modifier and Type | Method and Description |
---|---|
static String |
createTrampolineUrl(PlanResultKey planResultKey,
String artifactName,
String tag) |
static ArtifactLinkDataProvider |
decorate(ArtifactLinkDataProvider artifactLinkDataProvider) |
boolean |
exists() |
boolean |
exists(Iterable<String> pathComponents) |
ArtifactLinkDataProvider |
getDelegate() |
String |
getRootUrl() |
long |
getSize() |
Date |
lastModified() |
Iterable<ArtifactFileData> |
listObjects(String subpath) |
void |
setArtifactName(String artifactName) |
void |
setPlanResultKey(PlanResultKey planResultKey) |
public TrampolineUrlArtifactLinkDataProvider(ArtifactLinkDataProvider artifactLinkDataProvider)
@NotNull public String getRootUrl()
getRootUrl
in interface ArtifactLinkDataProvider
@NotNull public Iterable<ArtifactFileData> listObjects(@Nullable String subpath)
listObjects
in interface ArtifactLinkDataProvider
@Nullable public Date lastModified()
lastModified
in interface ArtifactLinkDataProvider
public long getSize()
getSize
in interface ArtifactLinkDataProvider
public boolean exists()
exists
in interface ArtifactLinkDataProvider
public boolean exists(Iterable<String> pathComponents)
exists
in interface ArtifactLinkDataProvider
public void setPlanResultKey(PlanResultKey planResultKey)
public void setArtifactName(String artifactName)
public ArtifactLinkDataProvider getDelegate()
public static ArtifactLinkDataProvider decorate(ArtifactLinkDataProvider artifactLinkDataProvider)
public static String createTrampolineUrl(PlanResultKey planResultKey, String artifactName, @Nullable String tag)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.