Class JobEntryResult

java.lang.Object
org.pentaho.di.job.JobEntryResult
All Implemented Interfaces:
Cloneable, Comparable<JobEntryResult>, Comparator<JobEntryResult>

public class JobEntryResult extends Object implements Cloneable, Comparator<JobEntryResult>, Comparable<JobEntryResult>
This class holds the result of a job entry after it was executed. Things we want to keep track of are:

--> result of the execution (Result)

--> ...

Since:
16-mrt-2005
Author:
Matt
  • Constructor Details

    • JobEntryResult

      public JobEntryResult()
      Creates a new empty job entry result...
    • JobEntryResult

      public JobEntryResult(org.pentaho.di.core.Result result, String logChannelId, String comment, String reason, String jobEntryName, int jobEntryNr, String jobEntryFilename)
      Creates a new job entry result...
      Parameters:
      result - the result of the job entry
      comment - an optional comment
      jobEntry - the job entry for which this is the result.
    • JobEntryResult

      @Deprecated public JobEntryResult(org.pentaho.di.core.Result result, String comment, String reason, JobEntryCopy copy)
      Parameters:
      result -
      comment -
      reason -
      copy -
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • setResult

      public void setResult(org.pentaho.di.core.Result result)
      Parameters:
      result - The result to set.
    • getResult

      public org.pentaho.di.core.Result getResult()
      Returns:
      Returns the result.
    • getComment

      public String getComment()
      Returns:
      Returns the comment.
    • setComment

      public void setComment(String comment)
      Parameters:
      comment - The comment to set.
    • getReason

      public String getReason()
      Returns:
      Returns the reason.
    • setReason

      public void setReason(String reason)
      Parameters:
      reason - The reason to set.
    • getLogDate

      public Date getLogDate()
      Returns:
      Returns the logDate.
    • setLogDate

      public void setLogDate(Date logDate)
      Parameters:
      logDate - The logDate to set.
    • getJobEntryName

      public String getJobEntryName()
      Returns:
      the jobEntryName
    • setJobEntryName

      public void setJobEntryName(String jobEntryName)
      Parameters:
      jobEntryName - the jobEntryName to set
    • getJobEntryFilename

      public String getJobEntryFilename()
      Returns:
      the jobEntryFilename
    • setJobEntryFilename

      public void setJobEntryFilename(String jobEntryFilename)
      Parameters:
      jobEntryFilename - the jobEntryFilename to set
    • getJobEntryNr

      public int getJobEntryNr()
      Returns:
      the jobEntryNr
    • setJobEntryNr

      public void setJobEntryNr(int jobEntryNr)
      Parameters:
      jobEntryNr - the jobEntryNr to set
    • compare

      public int compare(JobEntryResult one, JobEntryResult two)
      Specified by:
      compare in interface Comparator<JobEntryResult>
    • compareTo

      public int compareTo(JobEntryResult two)
      Specified by:
      compareTo in interface Comparable<JobEntryResult>
    • getLogChannelId

      public String getLogChannelId()
    • isCheckpoint

      public boolean isCheckpoint()
      Returns:
      the checkpoint
    • setCheckpoint

      public void setCheckpoint(boolean checkpoint)
      Parameters:
      checkpoint - the checkpoint to set