com.ibm.batch.container.xjcl.impl
Class UnmarshalledJSLComparator

java.lang.Object
  extended by com.ibm.batch.container.xjcl.impl.UnmarshalledJSLComparator

public class UnmarshalledJSLComparator
extends Object


Constructor Summary
UnmarshalledJSLComparator()
           
 
Method Summary
static boolean equals(Chunk chunk1, Chunk chunk2)
           
static boolean equals(JSLJob job1, JSLJob job2)
           
static boolean equals(JSLProperties jslprops1, JSLProperties jslprops2)
          Compare two elements and their contents.
static boolean equals(Listener listener1, Listener listener2)
           
static boolean equals(Listeners listeners1, Listeners listeners2)
           
static boolean equals(Property prop1, Property prop2)
           
static boolean equals(Step step1, Step step2)
           
static boolean nullSafeEquals(Object o1, Object o2)
          Checks parameters for null before .equals() comparison between them.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshalledJSLComparator

public UnmarshalledJSLComparator()
Method Detail

equals

public static boolean equals(JSLJob job1,
                             JSLJob job2)

equals

public static boolean equals(JSLProperties jslprops1,
                             JSLProperties jslprops2)
Compare two elements and their contents. The properties need not be in the same order.

Parameters:
jslprops1 - first element, could be null
jslprops2 - second 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(Property prop1,
                             Property prop2)

equals

public static boolean equals(Listeners listeners1,
                             Listeners listeners2)

equals

public static boolean equals(Listener listener1,
                             Listener listener2)

equals

public static boolean equals(Step step1,
                             Step step2)

equals

public static boolean equals(Chunk chunk1,
                             Chunk chunk2)


Copyright © 2013. All Rights Reserved.