Package org.pentaho.di.job
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 Summary
ConstructorDescriptionCreates a new empty job entry result...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...JobEntryResult
(org.pentaho.di.core.Result result, String comment, String reason, JobEntryCopy copy) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compare
(JobEntryResult one, JobEntryResult two) int
compareTo
(JobEntryResult two) int
org.pentaho.di.core.Result
boolean
void
setCheckpoint
(boolean checkpoint) void
setComment
(String comment) void
setJobEntryFilename
(String jobEntryFilename) void
setJobEntryName
(String jobEntryName) void
setJobEntryNr
(int jobEntryNr) void
setLogDate
(Date logDate) void
void
setResult
(org.pentaho.di.core.Result result) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
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 entrycomment
- an optional commentjobEntry
- 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
-
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
- Returns:
- Returns the comment.
-
setComment
- Parameters:
comment
- The comment to set.
-
getReason
- Returns:
- Returns the reason.
-
setReason
- Parameters:
reason
- The reason to set.
-
getLogDate
- Returns:
- Returns the logDate.
-
setLogDate
- Parameters:
logDate
- The logDate to set.
-
getJobEntryName
- Returns:
- the jobEntryName
-
setJobEntryName
- Parameters:
jobEntryName
- the jobEntryName to set
-
getJobEntryFilename
- Returns:
- the jobEntryFilename
-
setJobEntryFilename
- 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
- Specified by:
compare
in interfaceComparator<JobEntryResult>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<JobEntryResult>
-
getLogChannelId
-
isCheckpoint
public boolean isCheckpoint()- Returns:
- the checkpoint
-
setCheckpoint
public void setCheckpoint(boolean checkpoint) - Parameters:
checkpoint
- the checkpoint to set
-
JobEntryResult(Result, String, String, String, String, int, String)