Package com.exsol.errorcodemodel
Class ErrorCodeReport
- java.lang.Object
-
- com.exsol.errorcodemodel.ErrorCodeReport
-
public class ErrorCodeReport extends Object
This class represents an error code report as Java object.
-
-
Constructor Summary
Constructors Constructor Description ErrorCodeReport(String projectName, String projectVersion, List<ErrorMessageDeclaration> errorMessageDeclarations)Create a new instance of an error code report.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<ErrorMessageDeclaration>getErrorMessageDeclarations()Get a list of error message declarationsStringgetProjectName()Get the name of the project the error code belongs to.StringgetProjectVersion()Get the version of the project the error code belongs to.inthashCode()
-
-
-
Constructor Detail
-
ErrorCodeReport
public ErrorCodeReport(String projectName, String projectVersion, List<ErrorMessageDeclaration> errorMessageDeclarations)
Create a new instance of an error code report.- Parameters:
projectName- name of the project the error definitions belong toprojectVersion- version of the projecterrorMessageDeclarations- error message declarations
-
-
Method Detail
-
getProjectName
public String getProjectName()
Get the name of the project the error code belongs to.- Returns:
- project name
-
getProjectVersion
public String getProjectVersion()
Get the version of the project the error code belongs to.- Returns:
- project version
-
getErrorMessageDeclarations
public List<ErrorMessageDeclaration> getErrorMessageDeclarations()
Get a list of error message declarations- Returns:
- error message declarations
-
-