com.atlassian.bamboo.build.artifact
Class ArtifactFileDataImpl

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.ArtifactFileDataImpl
All Implemented Interfaces:
ArtifactFileData
Direct Known Subclasses:
MutableArtifactFileData

public class ArtifactFileDataImpl
extends Object
implements ArtifactFileData


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.artifact.ArtifactFileData
ArtifactFileData.FileType
 
Field Summary
protected  String tag
           
 
Constructor Summary
ArtifactFileDataImpl(String name, ArtifactFileData.FileType fileType, String url, String tag, Date lastModified, Long size)
           
 
Method Summary
static ArtifactFileData directory(String name, String url, String tag, Date lastModified, Long size)
           
 ArtifactFileData.FileType getFileType()
           
 String getName()
           
 Long getSize()
           
 String getTag()
           
 String getUrl()
           
 Date lastModified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

protected String tag
Constructor Detail

ArtifactFileDataImpl

public ArtifactFileDataImpl(@NotNull
                            String name,
                            @NotNull
                            ArtifactFileData.FileType fileType,
                            @Nullable
                            String url,
                            @Nullable
                            String tag,
                            @Nullable
                            Date lastModified,
                            @Nullable
                            Long size)
Method Detail

getName

@NotNull
public String getName()
Specified by:
getName in interface ArtifactFileData

getFileType

@NotNull
public ArtifactFileData.FileType getFileType()
Specified by:
getFileType in interface ArtifactFileData

getUrl

@Nullable
public String getUrl()
Specified by:
getUrl in interface ArtifactFileData

getTag

@Nullable
public String getTag()
Specified by:
getTag in interface ArtifactFileData

getSize

@Nullable
public Long getSize()
Specified by:
getSize in interface ArtifactFileData

lastModified

@Nullable
public Date lastModified()
Specified by:
lastModified in interface ArtifactFileData

directory

public static ArtifactFileData directory(@NotNull
                                         String name,
                                         @Nullable
                                         String url,
                                         @Nullable
                                         String tag,
                                         @Nullable
                                         Date lastModified,
                                         @Nullable
                                         Long size)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.