public class JobEntryResult extends Object implements Cloneable, Comparator<JobEntryResult>, Comparable<JobEntryResult>
--> result of the execution (Result)
--> ...
Constructor and Description |
---|
JobEntryResult()
Creates a new empty job entry result...
|
JobEntryResult(Result result,
String comment,
String reason,
JobEntryCopy copy)
|
JobEntryResult(Result result,
String logChannelId,
String comment,
String reason,
String jobEntryName,
int jobEntryNr,
String jobEntryFilename)
Creates a new job entry result...
|
Modifier and Type | Method and 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() |
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(Result result) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public JobEntryResult()
public JobEntryResult(Result result, String logChannelId, String comment, String reason, String jobEntryName, int jobEntryNr, String jobEntryFilename)
result
- the result of the job entrycomment
- an optional commentjobEntry
- the job entry for which this is the result.@Deprecated public JobEntryResult(Result result, String comment, String reason, JobEntryCopy copy)
result
- comment
- reason
- copy
- public void setResult(Result result)
result
- The result to set.public Result getResult()
public String getComment()
public void setComment(String comment)
comment
- The comment to set.public String getReason()
public void setReason(String reason)
reason
- The reason to set.public Date getLogDate()
public void setLogDate(Date logDate)
logDate
- The logDate to set.public String getJobEntryName()
public void setJobEntryName(String jobEntryName)
jobEntryName
- the jobEntryName to setpublic String getJobEntryFilename()
public void setJobEntryFilename(String jobEntryFilename)
jobEntryFilename
- the jobEntryFilename to setpublic int getJobEntryNr()
public void setJobEntryNr(int jobEntryNr)
jobEntryNr
- the jobEntryNr to setpublic int compare(JobEntryResult one, JobEntryResult two)
compare
in interface Comparator<JobEntryResult>
public int compareTo(JobEntryResult two)
compareTo
in interface Comparable<JobEntryResult>
public String getLogChannelId()
public boolean isCheckpoint()
public void setCheckpoint(boolean checkpoint)
checkpoint
- the checkpoint to setCopyright © 2018 Hitachi Vantara. All rights reserved.