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
FileNotFoundException
public 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 ArtifactLinkDataProvider
public long getSize()
getSize
in interface ArtifactLinkDataProvider
public Date lastModified()
lastModified
in interface ArtifactLinkDataProvider
public boolean exists()
exists
in interface ArtifactLinkDataProvider
public boolean exists(Iterable<String> pathComponents)
exists
in interface ArtifactLinkDataProvider
public File getFile()
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.