Class DependTypeMatchingConditionValve
java.lang.Object
com.easydesk.pipeline.BranchPointValve
com.easydesk.pipeline.ConditionalValve
com.easydesk.workflow.pipeline.depend.DependTypeMatchingConditionValve
- All Implemented Interfaces:
Valve
Dependancy.xml 에서 Depend 의 DependType 에 따라 sub pipeline 을 선택한다.
<valve value="QUIZ_SHEET" pipeline="/com/easydesk/workflow/depend/QuizSheetDepend.xml">com.easydesk.workflow.pipeline.depend.DependTypeMatchingConditionValve</valve>
value 는 DependTypeEnum 의 이름 또는 DependType id 이다. (old) xml 에는 id (4, 5, 21, 30, 45) 가 적혀 있었는데 현재
DependTypeEnum 의 id 가 바뀌었으므로 ( QUIZ_SHEET 14, QUIZ_QUIZ_GROUP 15, GROUP_CURRICULUM_RELATION 31, STEP_PLAN_STUDY_PLAN
40, BASKET_ITEM 55 ) 이름을 쓰는 것을 권장한다.
- 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 Pipelineselect(PipelineData pipelineData) Depend 의 DependType 이 value 와 일치하면 sub pipeline 을 선택한다.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
-
DependTypeMatchingConditionValve
public DependTypeMatchingConditionValve()
-
-
Method Details
-
select
Depend 의 DependType 이 value 와 일치하면 sub pipeline 을 선택한다.- Specified by:
selectin classConditionalValve- Parameters:
pipelineData- DOCUMENT ME!- Returns:
- 선택된 sub pipeline, 일치하지 않으면 null
-