public class JobComparator extends Object
Constructor and Description |
---|
JobComparator() |
Modifier and Type | Method and Description |
---|---|
String |
getDifferenceMessage()
if the last 2 jobs compared are not equal, a message will be returned
explaining the first difference encountered.
|
boolean |
isEqualJob(TaskFlowJob job1,
TaskFlowJob job2)
We state that: For any jobs (TaskFlowJob) job1 and job2 such that job1
serialized to xml produces job1.xml job1.xml loaded in java produces job2
then isEqual(job1,job2) == true
|
public String getDifferenceMessage()
public boolean isEqualJob(TaskFlowJob job1, TaskFlowJob job2) throws IOException, ClassNotFoundException
ClassNotFoundException
IOException