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
Constructors Constructor Description JobEntryResult()
Creates 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
compare(JobEntryResult one, JobEntryResult two)
int
compareTo(JobEntryResult two)
String
getComment()
String
getJobEntryFilename()
String
getJobEntryName()
int
getJobEntryNr()
String
getLogChannelId()
Date
getLogDate()
String
getReason()
org.pentaho.di.core.Result
getResult()
boolean
isCheckpoint()
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
setReason(String reason)
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 Detail
-
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 Detail
-
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 interfaceComparator<JobEntryResult>
-
compareTo
public int compareTo(JobEntryResult two)
- Specified by:
compareTo
in interfaceComparable<JobEntryResult>
-
getLogChannelId
public String getLogChannelId()
-
isCheckpoint
public boolean isCheckpoint()
- Returns:
- the checkpoint
-
setCheckpoint
public void setCheckpoint(boolean checkpoint)
- Parameters:
checkpoint
- the checkpoint to set
-
-