Maven module :un.api : api-common :
Class : un.api.event.DefaultMonitorEvent
Extends/Implements : un.api.event.DefaultEvent un.api.event.MonitorEvent
Subclasses : -

Listen to object progress.
author  Johann Sorel


Variables : -
Functions : DefaultMonitorEvent, getState, getProgress, getMessage, getResult, getError




param  source original task
param  state task execution state, one of STATE_X
param  progress execution progress, between 0 and 1
param  message progress message, can be null
param  result intermediate results, can be null
param  error execution exception, can be null
public void DefaultMonitorEvent (EventSource source, int state, float progress, Chars message, Object result, Exception error)


{@inheritDoc}
public int getState ()


{@inheritDoc}
public float getProgress ()


{@inheritDoc}
public Chars getMessage ()


{@inheritDoc}
public Object getResult ()


{@inheritDoc}
public Exception getError ()