Class TraceRequest

java.lang.Object
com.persequor.extension.eventservice.TraceRequest

public class TraceRequest extends Object
  • Method Details

    • of

      public static TraceRequest of(Collection<String> epcs)
    • of

      public static TraceRequest of(String... epcs)
    • setAt

      public TraceRequest setAt(ZonedDateTime at)
    • withEpcExpansion

      public TraceRequest withEpcExpansion(EpcExpanderMode mode)
      This will set the expansion mode of the EPCs in the request. This will not affect EPC in the recursive lookups only the ones in the Request will be expanded. The default is DISABLED.
      Parameters:
      mode - the mode of EPC Expansion to use.
      Returns:
      a search request for further chaining
      See Also:
    • includeReverted

      public TraceRequest includeReverted(boolean includeReverted)
    • setDepth

      public TraceRequest setDepth(Integer depth)
    • getDepth

      public int getDepth()
    • getEpcs

      public Collection<String> getEpcs()
    • getAt

      public ZonedDateTime getAt()
    • getEpcExpanderMode

      public EpcExpanderMode getEpcExpanderMode()
    • isIncludeReverted

      public boolean isIncludeReverted()
    • copy

      public TraceRequest copy()
      This will create a copy of the current request. This is useful if you want to modify the request without affecting the original request.
      Returns:
      a copy of the current request