public class ArtifactRest extends Object implements GenericRestEntity<Integer>
| Constructor and Description |
|---|
ArtifactRest() |
ArtifactRest(org.jboss.pnc.model.Artifact artifact) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.pnc.model.Artifact.Quality |
getArtifactQuality() |
Set<Integer> |
getBuildRecordIds() |
String |
getChecksum() |
Set<Integer> |
getDependantBuildRecordIds() |
String |
getDeployUrl() |
String |
getFilename() |
Integer |
getId()
Gets Id.
|
String |
getIdentifier() |
Date |
getImportDate() |
String |
getOriginUrl() |
org.jboss.pnc.model.ArtifactRepo.Type |
getRepoType() |
String |
getStatus()
Deprecated.
|
boolean |
isBuilt() |
boolean |
isImported() |
void |
setArtifactQuality(org.jboss.pnc.model.Artifact.Quality artifactQuality) |
void |
setBuildRecordIds(Set<Integer> buildRecordIds) |
void |
setChecksum(String checksum) |
void |
setDependantBuildRecordIds(Set<Integer> dependantBuildRecordIds) |
void |
setDeployUrl(String deployUrl) |
void |
setFilename(String filename) |
void |
setId(Integer id)
Sets id.
|
void |
setIdentifier(String identifier) |
void |
setImportDate(Date importDate) |
void |
setOriginUrl(String originUrl) |
void |
setRepoType(org.jboss.pnc.model.ArtifactRepo.Type repoType) |
org.jboss.pnc.model.Artifact.Builder |
toDBEntityBuilder() |
String |
toString() |
public ArtifactRest()
public ArtifactRest(org.jboss.pnc.model.Artifact artifact)
public Integer getId()
GenericRestEntitygetId in interface GenericRestEntity<Integer>public void setId(Integer id)
GenericRestEntitysetId in interface GenericRestEntity<Integer>id - id.public String getIdentifier()
public void setIdentifier(String identifier)
public org.jboss.pnc.model.ArtifactRepo.Type getRepoType()
public void setRepoType(org.jboss.pnc.model.ArtifactRepo.Type repoType)
public String getChecksum()
public void setChecksum(String checksum)
public org.jboss.pnc.model.Artifact.Quality getArtifactQuality()
public void setArtifactQuality(org.jboss.pnc.model.Artifact.Quality artifactQuality)
public String getFilename()
public void setFilename(String filename)
public String getDeployUrl()
public void setDeployUrl(String deployUrl)
public Date getImportDate()
public void setImportDate(Date importDate)
public String getOriginUrl()
public void setOriginUrl(String originUrl)
public boolean isImported()
@Deprecated public String getStatus()
public boolean isBuilt()
public void setDependantBuildRecordIds(Set<Integer> dependantBuildRecordIds)
public org.jboss.pnc.model.Artifact.Builder toDBEntityBuilder()
Copyright © 2014–2016. All rights reserved.