Package com.jalios.jcms.fileprocessor
Class ProcessingEvent
- java.lang.Object
-
- com.jalios.jcms.fileprocessor.ProcessingEvent
-
public class ProcessingEvent extends java.lang.Object
This class represents a FileProcessor action/event. It is used only as an in-memory log, for GUI, displayed through in the admin page of the FileProcessor.
-
-
Constructor Summary
Constructors Constructor Description ProcessingEvent(Repository repository, FileActionComponent component, java.io.File file, ProcessingType type, ProcessingData.Type processingDataType)
Create a new Action with information that never change
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
FileActionComponent
getComponent()
java.util.Date
getEndDate()
java.io.File
getFile()
ProcessingData.Type
getProcessingDataType()
Repository
getRepository()
java.util.Date
getStartDate()
ProcessingStatus
getStatus()
ProcessingType
getType()
void
updateStatus(ProcessingStatus status)
-
-
-
Constructor Detail
-
ProcessingEvent
public ProcessingEvent(Repository repository, FileActionComponent component, java.io.File file, ProcessingType type, ProcessingData.Type processingDataType)
Create a new Action with information that never change- Parameters:
repository
- the repository in which event occuredcomponent
- the component for which event occured (can be null)file
- the file for which event occuredtype
- the type of Processing which ocurredprocessingDataType
- the type of ProcessingData
-
-
Method Detail
-
updateStatus
public void updateStatus(ProcessingStatus status)
-
finish
public void finish()
-
getRepository
public Repository getRepository()
-
getStartDate
public java.util.Date getStartDate()
-
getComponent
public FileActionComponent getComponent()
-
getFile
public java.io.File getFile()
-
getType
public ProcessingType getType()
-
getStatus
public ProcessingStatus getStatus()
-
getEndDate
public java.util.Date getEndDate()
-
getProcessingDataType
public ProcessingData.Type getProcessingDataType()
-
-