org.wiperdog.jobmanager
Interface JobResult

All Known Implementing Classes:
JobResultImpl

public interface JobResult


Nested Class Summary
static class JobResult.JOBSTATUS
           
 
Method Summary
 Map<String,Object> getData()
          Get additional data.
 Date getEndedAt()
          get time of the job was ended.
 Date getInterruptedAt()
          get time of the job was Time Over Interrupted.
 JobResult.JOBSTATUS getLastStatus()
          get last job execution status.
 String getMessage()
          get message for last event(error/accident).
 String getName()
          get Job name
 Object getParam(String key)
          get other paramaters
 Date getPendedAt()
          get time of when the job was pended.
 Object getResult()
          get execution result.
 Date getStartedAt()
          get time of the job was started.
 Date getWaitexpiredAt()
          get time of when the job wait time was expired
 void putData(String key, Object value)
          Put additional data.
 

Method Detail

getName

String getName()
get Job name

Returns:

getStartedAt

Date getStartedAt()
get time of the job was started.

Returns:

getInterruptedAt

Date getInterruptedAt()
get time of the job was Time Over Interrupted.

Returns:

getEndedAt

Date getEndedAt()
get time of the job was ended.

Returns:

getPendedAt

Date getPendedAt()
get time of when the job was pended.

Returns:

getWaitexpiredAt

Date getWaitexpiredAt()
get time of when the job wait time was expired

Returns:

getResult

Object getResult()
get execution result.

Returns:

getLastStatus

JobResult.JOBSTATUS getLastStatus()
get last job execution status.

Returns:

getParam

Object getParam(String key)
get other paramaters

Parameters:
key -
Returns:

getMessage

String getMessage()
get message for last event(error/accident).

Returns:

getData

Map<String,Object> getData()
Get additional data.

Returns:

putData

void putData(String key,
             Object value)
Put additional data.

Parameters:
key -
value -


Copyright © 2013. All Rights Reserved.