public class ProcessingEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
ProcessingEvent(Repository repository,
FileActionComponent component,
java.io.File file,
ProcessingType type,
ProcessingData.Type processingDataType)
Create a new Action with information that never change
|
Modifier and Type | Method and 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) |
public static final java.lang.String REVISION
public ProcessingEvent(Repository repository, FileActionComponent component, java.io.File file, ProcessingType type, ProcessingData.Type processingDataType)
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 ProcessingDatapublic void updateStatus(ProcessingStatus status)
public void finish()
public Repository getRepository()
public java.util.Date getStartDate()
public FileActionComponent getComponent()
public java.io.File getFile()
public ProcessingType getType()
public ProcessingStatus getStatus()
public java.util.Date getEndDate()
public ProcessingData.Type getProcessingDataType()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.