public class EtlResponse
extends Object
implements Serializable
Constructor and Description |
---|
EtlResponse()
Instantiates a new etl response.
|
EtlResponse(int retCode)
Instantiates a new etl response using given return code.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
Gets the last executed code (sql).
|
String |
getDebugInfo()
Gets the debug information.
|
Date |
getEndTime()
Gets the end time.
|
Point |
getErrorLocationInSql()
Gets the location of the error in the last executed SQL.
|
Exception |
getException()
Gets the exception.
|
Map<String,FileMetrics> |
getFileMetrics()
Gets the file metrics.
|
String |
getFileName()
Gets the file name.
|
Map<String,EtlMetrics> |
getMetrics()
Gets the metrics.
|
int |
getRetCode()
Gets the return code.
|
Date |
getStartTime()
Gets the start time.
|
String |
getWarnings()
Gets the warnings.
|
void |
setCode(String value)
Sets the last executed code(sql).
|
void |
setDebugInfo(String debugInfo)
Sets the debug information.
|
void |
setEndTime(Date value)
Sets the end time.
|
void |
setErrorLocationInSql(Point value)
Sets the error location in the last executed SQL.
|
void |
setException(Exception value)
Sets the exception.
|
void |
setFileName(String value)
Sets the file name.
|
void |
setMetrics(List<Scenario> scenarios)
Sets the metrics.
|
void |
setRetCode(int value)
Sets the return code.
|
void |
setStartTime(Date value)
Sets the start time.
|
void |
setWarnings(String value)
Sets the warnings.
|
public EtlResponse()
public EtlResponse(int retCode)
retCode
- the return code. Possible values: EtlConfig.RETURN_OK, EtlConfig.RETURN_ERROR, EtlConfig.RETURN_NO_CONFIG, EtlConfig.RETURN_CONFIG_NOT_INITIALIZEDpublic String getCode()
public Date getEndTime()
public Point getErrorLocationInSql()
public Exception getException()
public Map<String,FileMetrics> getFileMetrics()
public String getFileName()
public Map<String,EtlMetrics> getMetrics()
public int getRetCode()
public Date getStartTime()
public String getWarnings()
public void setCode(String value)
value
- the new codepublic void setEndTime(Date value)
value
- the new end timepublic void setErrorLocationInSql(Point value)
value
- the new location of the errorpublic void setException(Exception value)
value
- the new exceptionpublic void setFileName(String value)
value
- the new file namepublic void setMetrics(List<Scenario> scenarios)
scenarios
- the new metricspublic void setRetCode(int value)
value
- the new return codepublic void setStartTime(Date value)
value
- the new start timepublic void setWarnings(String value)
value
- the new warningspublic String getDebugInfo()
public void setDebugInfo(String debugInfo)
debugInfo
- the new debug informationCopyright © 2010-2020 Toolsverse. All Rights Reserved.