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,
@Nullable String tag) |
static ArtifactLinkDataProvider |
decorate(ArtifactLinkDataProvider artifactLinkDataProvider) |
boolean |
exists() |
boolean |
exists(Iterable<String> pathComponents) |
ArtifactLinkDataProvider |
getDelegate() |
@NotNull String |
getRootUrl() |
long |
getSize() |
@Nullable Date |
lastModified() |
@NotNull Iterable<ArtifactFileData> |
listObjects(@Nullable String subpath) |
void |
setArtifactName(String artifactName) |
void |
setPlanResultKey(PlanResultKey planResultKey) |
public TrampolineUrlArtifactLinkDataProvider(ArtifactLinkDataProvider artifactLinkDataProvider)
@NotNull public @NotNull String getRootUrl()
getRootUrl
in interface ArtifactLinkDataProvider
@NotNull public @NotNull Iterable<ArtifactFileData> listObjects(@Nullable @Nullable String subpath)
listObjects
in interface ArtifactLinkDataProvider
@Nullable public @Nullable 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 @Nullable String tag)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.