public class FileSystemArtifactLinkDataProvider extends Object implements ArtifactLinkDataProvider
| Constructor and Description |
|---|
FileSystemArtifactLinkDataProvider(@NotNull ArtifactDirectoryBuilder artifactDirectoryBuilder,
@NotNull Artifact artifact) |
FileSystemArtifactLinkDataProvider(@NotNull ArtifactDirectoryBuilder artifactDirectoryBuilder,
@NotNull Artifact artifact,
boolean lookForIndexFiles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
boolean |
exists(Iterable<String> pathComponents) |
File |
getFile() |
@NotNull String |
getRootUrl() |
long |
getSize() |
Date |
lastModified() |
@NotNull Iterable<ArtifactFileData> |
listObjects(@Nullable String subpath)
This method should not be normally called.
|
public FileSystemArtifactLinkDataProvider(@NotNull
@NotNull ArtifactDirectoryBuilder artifactDirectoryBuilder,
@NotNull
@NotNull Artifact artifact)
throws FileNotFoundException
FileNotFoundExceptionpublic FileSystemArtifactLinkDataProvider(@NotNull
@NotNull ArtifactDirectoryBuilder artifactDirectoryBuilder,
@NotNull
@NotNull Artifact artifact,
boolean lookForIndexFiles)
throws FileNotFoundException
FileNotFoundException@NotNull public @NotNull String getRootUrl()
getRootUrl in interface ArtifactLinkDataProvider@NotNull public @NotNull Iterable<ArtifactFileData> listObjects(@Nullable @Nullable String subpath)
listObjects in interface ArtifactLinkDataProviderpublic long getSize()
getSize in interface ArtifactLinkDataProviderpublic Date lastModified()
lastModified in interface ArtifactLinkDataProviderpublic boolean exists()
exists in interface ArtifactLinkDataProviderpublic boolean exists(Iterable<String> pathComponents)
exists in interface ArtifactLinkDataProviderpublic File getFile()
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.