Package com.jalios.jcms.fileprocessor
Class ProcessingEvent
- java.lang.Object
-
- com.jalios.jcms.fileprocessor.ProcessingEvent
-
public class ProcessingEvent extends java.lang.ObjectThis 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.- Version:
- $Revision: 29009 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREVISION
-
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 voidfinish()FileActionComponentgetComponent()java.util.DategetEndDate()java.io.FilegetFile()ProcessingData.TypegetProcessingDataType()RepositorygetRepository()java.util.DategetStartDate()ProcessingStatusgetStatus()ProcessingTypegetType()voidupdateStatus(ProcessingStatus status)
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
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()
-
-