public class Artifact extends Object implements Comparable<Artifact>
Constructor and Description |
---|
Artifact(String fileName,
FileData.Type type) |
Modifier and Type | Method and Description |
---|---|
void |
addErrorToErrorList(ErrorMessage error)
Add error to error list.
|
int |
compareTo(Artifact artifact) |
boolean |
equals(Object obj) |
List<ErrorMessage> |
getErrors() |
String |
getFileName() |
FileData.Type |
getType() |
int |
hashCode() |
void |
setErrors(List<ErrorMessage> errors) |
void |
setFileName(String name) |
public Artifact(String fileName, FileData.Type type)
public String getFileName()
public void setFileName(String name)
public FileData.Type getType()
public List<ErrorMessage> getErrors()
public void setErrors(List<ErrorMessage> errors)
public void addErrorToErrorList(ErrorMessage error)
error
- the errorpublic int compareTo(Artifact artifact)
compareTo
in interface Comparable<Artifact>
Copyright © 2017. All rights reserved.