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) |
public ArtifactRest()
public ArtifactRest(org.jboss.pnc.model.Artifact artifact,
String deployUrl,
String publicUrl)
public ArtifactRest(org.jboss.pnc.model.Artifact artifact)
public Long getSize()
public void setSize(Long size)
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 TargetRepositoryRest getTargetRepository()
public void setTargetRepository(TargetRepositoryRest targetRepository)
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–2020 JBoss by Red Hat. All rights reserved.