Class ServiceEcaCondition

java.lang.Object
org.apache.ofbiz.service.eca.ServiceEcaCondition
All Implemented Interfaces:
Serializable

public class ServiceEcaCondition extends Object implements Serializable
ServiceEcaCondition
See Also:
  • Constructor Details

    • ServiceEcaCondition

      protected ServiceEcaCondition()
    • ServiceEcaCondition

      public ServiceEcaCondition(Element condition, boolean isConstant, boolean isService)
  • Method Details

    • getShortDisplayDescription

      public String getShortDisplayDescription(boolean moreDetail)
      Gets short display description.
      Parameters:
      moreDetail - the more detail
      Returns:
      the short display description
    • eval

      public boolean eval(String serviceName, DispatchContext dctx, Map<String,Object> context) throws GenericServiceException
      Eval boolean.
      Parameters:
      serviceName - the service name
      dctx - the dctx
      context - the context
      Returns:
      the boolean
      Throws:
      GenericServiceException - the generic service exception
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object