com.atlassian.bamboo.build.artifact
Class FileSystemArtifactLinkDataProvider

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.FileSystemArtifactLinkDataProvider
All Implemented Interfaces:
ArtifactLinkDataProvider

public class FileSystemArtifactLinkDataProvider
extends java.lang.Object
implements ArtifactLinkDataProvider


Constructor Summary
FileSystemArtifactLinkDataProvider(ArtifactStorage artifactStorage, Artifact artifact)
           
 
Method Summary
 boolean exists()
           
 boolean exists(java.lang.String... pathComponents)
           
 java.io.File getFile()
           
 java.lang.String getFilePathSuffix()
          Deprecated. 
 long getSize()
           
 java.lang.Iterable<java.lang.String> getUrls()
           
 java.util.Date lastModified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemArtifactLinkDataProvider

public FileSystemArtifactLinkDataProvider(@NotNull
                                          ArtifactStorage artifactStorage,
                                          @NotNull
                                          Artifact artifact)
                                   throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

getFilePathSuffix

@Deprecated
public java.lang.String getFilePathSuffix()
Deprecated. 


getUrls

@NotNull
public java.lang.Iterable<java.lang.String> getUrls()
Specified by:
getUrls in interface ArtifactLinkDataProvider

getSize

public long getSize()
Specified by:
getSize in interface ArtifactLinkDataProvider

lastModified

public java.util.Date lastModified()
Specified by:
lastModified in interface ArtifactLinkDataProvider

exists

public boolean exists()
Specified by:
exists in interface ArtifactLinkDataProvider

exists

public boolean exists(java.lang.String... pathComponents)
Specified by:
exists in interface ArtifactLinkDataProvider

getFile

public java.io.File getFile()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.