Class UnmarshalledJSLComparator
- java.lang.Object
-
- com.ibm.jbatch.container.jsl.impl.UnmarshalledJSLComparator
-
public class UnmarshalledJSLComparator extends Object
-
-
Constructor Summary
Constructors Constructor Description UnmarshalledJSLComparator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanequals(com.ibm.jbatch.jsl.model.Chunk chunk1, com.ibm.jbatch.jsl.model.Chunk chunk2)static booleanequals(com.ibm.jbatch.jsl.model.JSLJob job1, com.ibm.jbatch.jsl.model.JSLJob job2)static booleanequals(com.ibm.jbatch.jsl.model.JSLProperties jslprops1, com.ibm.jbatch.jsl.model.JSLProperties jslprops2)Compare two <properties> elements and their contents.static booleanequals(com.ibm.jbatch.jsl.model.Listener listener1, com.ibm.jbatch.jsl.model.Listener listener2)static booleanequals(com.ibm.jbatch.jsl.model.Listeners listeners1, com.ibm.jbatch.jsl.model.Listeners listeners2)static booleanequals(com.ibm.jbatch.jsl.model.Property prop1, com.ibm.jbatch.jsl.model.Property prop2)static booleanequals(com.ibm.jbatch.jsl.model.Step step1, com.ibm.jbatch.jsl.model.Step step2)static booleannullSafeEquals(Object o1, Object o2)Checks parameters for null before .equals() comparison between them.
-
-
-
Method Detail
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.JSLJob job1, com.ibm.jbatch.jsl.model.JSLJob job2)
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.JSLProperties jslprops1, com.ibm.jbatch.jsl.model.JSLProperties jslprops2)Compare two <properties> elements and their contents. The properties need not be in the same order.- Parameters:
jslprops1- first <properties> element, could be nulljslprops2- second <properties> element, could be null- Returns:
- whether JSLProperties contain the same property names/values
-
nullSafeEquals
public static boolean nullSafeEquals(Object o1, Object o2)
Checks parameters for null before .equals() comparison between them. To be used on leaf nodes of JSLJob hierarchy, e.g.; Java Strings or other built-ins.- Parameters:
o1-o2-- Returns:
- true if o1 == o2 == null or if o1.equals(o2), and false otherwise.
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.Property prop1, com.ibm.jbatch.jsl.model.Property prop2)
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.Listeners listeners1, com.ibm.jbatch.jsl.model.Listeners listeners2)
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.Listener listener1, com.ibm.jbatch.jsl.model.Listener listener2)
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.Step step1, com.ibm.jbatch.jsl.model.Step step2)
-
equals
public static boolean equals(com.ibm.jbatch.jsl.model.Chunk chunk1, com.ibm.jbatch.jsl.model.Chunk chunk2)
-
-