|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.esa.beam.framework.processor.ProcessorStatusEvent
public class ProcessorStatusEvent
ProcessorStatusEvents occur if the status of a processor changes.
ProcessorStatusListener,
Processor.addProcessorStatusListener(org.esa.beam.framework.processor.ProcessorStatusListener),
Processor.removeProcessorStatusListener(org.esa.beam.framework.processor.ProcessorStatusListener),
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProcessorStatusEvent(Processor processor,
int oldStatus)
Constructs a new ProcessorStatusEvent. |
|
| Method Summary | |
|---|---|
ProcessorException |
getException()
Returns the processor exception for the moment at which this event occurred. |
int |
getNewStatus()
Returns the new processor status (after the status change). |
int |
getOldStatus()
Returns the old processor status (before the status change). |
Processor |
getProcessor()
Returns the processor which caused this event. |
Request |
getRequest()
Returns the processing request which was processed for the moment at which this event occurred. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessorStatusEvent(Processor processor,
int oldStatus)
ProcessorStatusEvent.
processor - the processor which caused the event, must not be nulloldStatus - the old processor status| Method Detail |
|---|
public Processor getProcessor()
public Request getRequest()
null if no request was processed while this event was generatedpublic int getOldStatus()
public int getNewStatus()
public ProcessorException getException()
null if this event was not caused by an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||