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