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