Class IdBasedEngineWrapper

java.lang.Object
com.flowable.workobject.engine.impl.wrapper.IdBasedEngineWrapper
All Implemented Interfaces:
NativeEngineWrapper
Direct Known Subclasses:
CmmnEngineWrapper, ProcessEngineWrapper, TaskEngineWrapper

public abstract class IdBasedEngineWrapper
extends java.lang.Object
implements NativeEngineWrapper
Provides accept method based on the idPrefix
  • Field Details

    • idPrefix

      protected final java.lang.String idPrefix
  • Constructor Details

  • Method Details

    • accepts

      public java.util.Optional<NativeEngineWrapper> accepts​(java.lang.String workObjectId)
      Description copied from interface: NativeEngineWrapper
      Flag to allow to choose the right wrapper for the given workObject
      Specified by:
      accepts in interface NativeEngineWrapper
      Parameters:
      workObjectId - workObject identifier
      Returns:
      optionally returns NativeEngineWrapper which is able to handle request.