Class ModuleMatchingConditionValve

java.lang.Object
com.easydesk.pipeline.BranchPointValve
com.easydesk.pipeline.ConditionalValve
com.easydesk.workflow.pipeline.user.ModuleMatchingConditionValve
All Implemented Interfaces:
Valve

public class ModuleMatchingConditionValve extends ConditionalValve
GrantUser.xml 에서 사용자에게 역할을 부여하는 Module 이 value 와 일치하면 sub pipeline 을 선택한다.

value 는 GroupEnum 의 이름 ( GLOBAL, EASYDESK ... ) 또는 Module 의 code 이다.

(old) shouldInvoke(Pouch) -> (new) ConditionalValve.select(PipelineData)
Author:
Youngho Cho
  • Constructor Details

    • ModuleMatchingConditionValve

      public ModuleMatchingConditionValve()
  • Method Details

    • select

      protected Pipeline select(PipelineData pipelineData)
      Description copied from class: ConditionalValve
      Determine whether the contained valves should be run. Subclasses should implement this method.
      Specified by:
      select in class ConditionalValve
      Parameters:
      pipelineData - DOCUMENT ME!
      Returns:
      선택된 sub pipeline, 일치하지 않으면 null