public class ArtifactRest extends Object implements GenericRestEntity<Integer>
| Constructor and Description |
|---|
ArtifactRest() |
ArtifactRest(org.jboss.pnc.model.Artifact artifact) |
ArtifactRest(org.jboss.pnc.model.Artifact artifact,
String deployUrl,
String publicUrl) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.pnc.model.Artifact.Quality |
getArtifactQuality() |
Set<Integer> |
getBuildRecordIds() |
Set<Integer> |
getDependantBuildRecordIds() |
String |
getDeployPath() |
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 |
setDependantBuildRecordIds(Set<Integer> dependantBuildRecordIds) |
void |
setDeployPath(String deployPath) |
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,
String deployUrl,
String publicUrl)
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 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 getDeployPath()
public void setDeployPath(String deployPath)
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–2017. All rights reserved.