public class FileMetrics extends BaseMetrics
Modifier and Type | Field and Description |
---|---|
static String |
CANCELLED_STATUS
The Constant CANCELLED_STATUS.
|
static String |
ERROR_STATUS
The Constant ERROR_STATUS.
|
static String[] |
FIELDS
The FIELDS.
|
static String |
IN_PROGRESS_STATUS
The Constant IN_PROGRESS_STATUS.
|
static String |
SUCCESS_STATUS
The Constant SUCCESS_STATUS.
|
MERTICS_DATE_FORMAT
Constructor and Description |
---|
FileMetrics() |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets the action.
|
String |
getDestination()
Gets the destination.
|
String |
getException()
Gets the exception.
|
String[] |
getFields()
Gets the fields.
|
Date |
getFinished()
Gets the finished.
|
String |
getFlow()
Gets the flow name.
|
String |
getName()
Gets the name.
|
String |
getNewName()
Gets the new name.
|
Long |
getNumberOfFiles()
Gets the number of files processed.
|
Long |
getNumberOfRecords()
Gets the number of processed records.
|
String |
getOriginalFile()
Gets the original file.
|
String |
getReportFile()
Gets the report file.
|
String |
getRequestId()
Gets the request id.
|
String |
getSource()
Gets the source.
|
Date |
getStarted()
Gets the started.
|
String |
getStatus()
Gets the status.
|
void |
setAction(String action)
Sets the action.
|
void |
setDestination(String to)
Sets the destination.
|
void |
setException(String exception)
Sets the exception.
|
void |
setFinished(Date finished)
Sets the finished.
|
void |
setFlow(String flow)
Sets the flow name.
|
void |
setName(String name)
Sets the name.
|
void |
setNewName(String newName)
Sets the new name.
|
void |
setNumberOfFiles(Long numberOfFiles)
Sets the number of files processed.
|
void |
setNumberOfRecords(Long numberOfRecords)
Sets the number of records of processed records.
|
void |
setOriginalFile(String originalFile)
Sets the original file.
|
void |
setReportFile(String reportFile)
Sets the report file.
|
void |
setRequestId(String requestId)
Sets the request id.
|
void |
setSource(String from)
Sets the source.
|
void |
setStarted(Date started)
Sets the started.
|
void |
setStatus(String status)
Sets the status.
|
getDate, getFieldValue, getLong, setFieldValue
public static final String[] FIELDS
public static final String SUCCESS_STATUS
public static final String ERROR_STATUS
public static final String IN_PROGRESS_STATUS
public static final String CANCELLED_STATUS
public String getAction()
public String getDestination()
public String getException()
public String[] getFields()
BaseMetrics
getFields
in class BaseMetrics
public Date getFinished()
public String getName()
public String getNewName()
public String getSource()
public Date getStarted()
public String getStatus()
public void setAction(String action)
action
- the action destination setpublic void setDestination(String to)
to
- the new destinationpublic void setException(String exception)
exception
- the exception destination setpublic void setFinished(Date finished)
finished
- the finished destination setpublic void setName(String name)
name
- the name destination setpublic void setNewName(String newName)
newName
- the newName destination setpublic void setSource(String from)
from
- the new sourcepublic void setStarted(Date started)
started
- the started destination setpublic void setStatus(String status)
status
- the status destination setpublic String getOriginalFile()
public void setOriginalFile(String originalFile)
originalFile
- the new original filepublic String getReportFile()
public void setReportFile(String reportFile)
reportFile
- the new report filepublic String getRequestId()
public void setRequestId(String requestId)
requestId
- the new request idpublic Long getNumberOfRecords()
public void setNumberOfRecords(Long numberOfRecords)
numberOfRecords
- the new number of processed recordspublic Long getNumberOfFiles()
public void setNumberOfFiles(Long numberOfFiles)
numberOfFiles
- the new number of files processedpublic String getFlow()
public void setFlow(String flow)
flow
- the new flowCopyright © 2010-2020 Toolsverse. All Rights Reserved.