Class CachingArtifactLinkDataProviderDecorator
java.lang.Object
com.atlassian.bamboo.build.artifact.CachingArtifactLinkDataProviderDecorator
- All Implemented Interfaces:
ArtifactLinkDataProvider
public class CachingArtifactLinkDataProviderDecorator
extends Object
implements ArtifactLinkDataProvider
Caches all values returned from the decorated provider.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCachingArtifactLinkDataProviderDecorator
(ArtifactLinkDataProvider artifactLinkDataProvider) -
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactLinkDataProvider
decorate
(ArtifactLinkDataProvider artifactLinkDataProvider) boolean
exists()
boolean
@NotNull String
long
getSize()
@Nullable Date
@NotNull Iterable<ArtifactFileData>
listObjects
(@Nullable String subpath)
-
Field Details
-
lastModified
-
size
-
-
Constructor Details
-
CachingArtifactLinkDataProviderDecorator
-
-
Method Details
-
getRootUrl
- Specified by:
getRootUrl
in interfaceArtifactLinkDataProvider
-
listObjects
- Specified by:
listObjects
in interfaceArtifactLinkDataProvider
-
lastModified
- Specified by:
lastModified
in interfaceArtifactLinkDataProvider
-
getSize
public long getSize()- Specified by:
getSize
in interfaceArtifactLinkDataProvider
-
exists
public boolean exists()- Specified by:
exists
in interfaceArtifactLinkDataProvider
-
exists
- Specified by:
exists
in interfaceArtifactLinkDataProvider
-
decorate
-