Class ModuleCategoryConditionValve
java.lang.Object
com.easydesk.pipeline.BranchPointValve
com.easydesk.pipeline.ConditionalValve
com.easydesk.workflow.pipeline.user.ModuleCategoryConditionValve
- All Implemented Interfaces:
Valve
GrantUser.xml 에서 사용자에게 역할을 부여하는 Module 의 Category ( bank, studygroup, usergroup ) 가 value 와 일치하면 sub
pipeline 을 선택한다.
주의 : (old) Module.isItemBank() / isCategory() / isUserGroup() 이 현재 Module 에 없어서 지금은 항상 일치하지 않는다 ( null 을
돌려준다 ). Module 의 Category 판단 기준이 정해지면 matches(Module) 를 구현하면 된다.
- Author:
- Youngho Cho
-
Field Summary
Fields inherited from class com.easydesk.pipeline.ConditionalValve
valueFields inherited from class com.easydesk.pipeline.BranchPointValve
pipelines -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected Pipelineselect(PipelineData pipelineData) Determine whether the contained valves should be run.Methods inherited from class com.easydesk.pipeline.ConditionalValve
addValve, getPipeline, getValue, initialize, invoke, setPipeline, setValueMethods inherited from class com.easydesk.pipeline.BranchPointValve
addPipeline, getPipelines
-
Constructor Details
-
ModuleCategoryConditionValve
public ModuleCategoryConditionValve()
-
-
Method Details
-
select
Description copied from class:ConditionalValveDetermine whether the contained valves should be run. Subclasses should implement this method.- Specified by:
selectin classConditionalValve- Parameters:
pipelineData- DOCUMENT ME!- Returns:
- 선택된 sub pipeline, 일치하지 않으면 null
-
matches
- Parameters:
module-- Returns:
- value 와 일치하는지
-