Class AlwaysTrueCondition

  • java.lang.Object
  • All Implemented Interfaces:
    Condition, XMLizable,

    public class AlwaysTrueCondition
    extends java.lang.Object
    implements Condition
    This Condition class always returns true, that is the conditions set out are always satisfied.
    XML Snippet of AlwaysTrueCondition is as follows:
      <Condition impl="">
    See Also:
    Serialized Form
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructor and Description
      Constructor for AlwaysTrueCondition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluate(PromotionContext context)
      This method always returns true.
      void fromXML(org.w3c.dom.Node anXMLNode)
      This method is used to build an object from its XML representation.
      java.lang.String toXML()
      This method is used to construct an XML node for Condition.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait