Class ArtifactFileDataImpl
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description ArtifactFileDataImpl(@NotNull String name, @NotNull ArtifactFileData.FileType fileType, @Nullable String url, @Nullable String tag, @Nullable Date lastModified, @Nullable Long size, long artifactId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArtifactFileData
directory(long artifactId, @NotNull String name, @Nullable String url, @Nullable String tag, @Nullable Date lastModified, @Nullable Long size)
long
getArtifactId()
Id of anArtifact
that owns this file.@NotNull ArtifactFileData.FileType
getFileType()
@NotNull String
getName()
@Nullable Long
getSize()
@Nullable String
getTag()
@Nullable String
getUrl()
@Nullable Date
lastModified()
-
-
-
Field Detail
-
tag
protected String tag
-
-
Method Detail
-
getName
@NotNull public @NotNull String getName()
- Specified by:
getName
in interfaceArtifactFileData
-
getFileType
@NotNull public @NotNull ArtifactFileData.FileType getFileType()
- Specified by:
getFileType
in interfaceArtifactFileData
-
getUrl
@Nullable public @Nullable String getUrl()
- Specified by:
getUrl
in interfaceArtifactFileData
-
getTag
@Nullable public @Nullable String getTag()
- Specified by:
getTag
in interfaceArtifactFileData
-
getSize
@Nullable public @Nullable Long getSize()
- Specified by:
getSize
in interfaceArtifactFileData
-
lastModified
@Nullable public @Nullable Date lastModified()
- Specified by:
lastModified
in interfaceArtifactFileData
-
getArtifactId
public long getArtifactId()
Description copied from interface:ArtifactFileData
Id of anArtifact
that owns this file.- Specified by:
getArtifactId
in interfaceArtifactFileData
-
-