com.jalios.jcms.fileprocessor
Class ProcessingEvent

java.lang.Object
  extended by com.jalios.jcms.fileprocessor.ProcessingEvent

public class ProcessingEvent
extends 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.

Version:
$Revision: 29009 $

Field Summary
static String REVISION
           
 
Constructor Summary
ProcessingEvent(Repository repository, FileActionComponent component, File file, ProcessingType type, ProcessingData.Type processingDataType)
          Create a new Action with information that never change
 
Method Summary
 void finish()
           
 FileActionComponent getComponent()
           
 Date getEndDate()
           
 File getFile()
           
 ProcessingData.Type getProcessingDataType()
           
 Repository getRepository()
           
 Date getStartDate()
           
 ProcessingStatus getStatus()
           
 ProcessingType getType()
           
 void updateStatus(ProcessingStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

ProcessingEvent

public ProcessingEvent(Repository repository,
                       FileActionComponent component,
                       File file,
                       ProcessingType type,
                       ProcessingData.Type processingDataType)
Create a new Action with information that never change

Parameters:
repository - the repository in which event occured
component - the component for which event occured (can be null)
file - the file for which event occured
type - the type of Processing which ocurred
processingDataType - the type of ProcessingData
Method Detail

updateStatus

public void updateStatus(ProcessingStatus status)

finish

public void finish()

getRepository

public Repository getRepository()

getStartDate

public Date getStartDate()

getComponent

public FileActionComponent getComponent()

getFile

public File getFile()

getType

public ProcessingType getType()

getStatus

public ProcessingStatus getStatus()

getEndDate

public Date getEndDate()

getProcessingDataType

public ProcessingData.Type getProcessingDataType()


Copyright © 2001-2010 Jalios SA. All Rights Reserved.