org.eobjects.datacleaner.monitor.scheduling.model
Class ExecutionIdentifier

java.lang.Object
  extended by org.eobjects.datacleaner.monitor.scheduling.model.ExecutionIdentifier
All Implemented Interfaces:
Serializable, Comparable<ExecutionIdentifier>
Direct Known Subclasses:
ExecutionLog

public class ExecutionIdentifier
extends Object
implements Serializable, Comparable<ExecutionIdentifier>

Represents the basic information about an execution. Can be used as a key for retrieving more information in an ExecutionLog object.

See Also:
Serialized Form

Constructor Summary
  ExecutionIdentifier()
           
protected ExecutionIdentifier(String resultId, TriggerType triggerType)
           
 
Method Summary
 int compareTo(ExecutionIdentifier o)
           
 ExecutionStatus getExecutionStatus()
           
 Date getJobBeginDate()
           
 String getResultId()
           
 TriggerType getTriggerType()
          Gets the trigger type of this execution.
 boolean isFinished()
           
 void setExecutionStatus(ExecutionStatus executionStatus)
           
 void setJobBeginDate(Date jobBeginDate)
           
 void setResultId(String resultId)
           
 void setTriggerType(TriggerType triggerType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionIdentifier

public ExecutionIdentifier()

ExecutionIdentifier

protected ExecutionIdentifier(String resultId,
                              TriggerType triggerType)
Method Detail

isFinished

public boolean isFinished()

getResultId

public String getResultId()

setResultId

public void setResultId(String resultId)

getTriggerType

public TriggerType getTriggerType()
Gets the trigger type of this execution. Note that this trigger type MIGHT NOT be the same as the TriggerType in the Schedule of the job ( ExecutionLog.getSchedule()), since the execution might be manually triggered while also having a defined schedule.

Returns:

setTriggerType

public void setTriggerType(TriggerType triggerType)

getJobBeginDate

public Date getJobBeginDate()

setJobBeginDate

public void setJobBeginDate(Date jobBeginDate)

getExecutionStatus

public ExecutionStatus getExecutionStatus()

setExecutionStatus

public void setExecutionStatus(ExecutionStatus executionStatus)

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(ExecutionIdentifier o)
Specified by:
compareTo in interface Comparable<ExecutionIdentifier>


Copyright © 2012 Human Inference. All Rights Reserved.