com.ibm.batch.container.tck.bridge
Class BatchContainerJSLMerger
java.lang.Object
com.ibm.batch.container.tck.bridge.BatchContainerJSLMerger
- All Implemented Interfaces:
- JSLInheritanceMerger
public class BatchContainerJSLMerger
- extends Object
- implements JSLInheritanceMerger
Per Chris V.'s most recent input:
1. Job inherits from Job
a. only properties and listeners are inherited
i. listener order is not guaranteed
ii. property order doesn't matter
2. Splits and flows are not inherited from a Job, and cannot inherit from other Splits and Flows
3. Steps can inherit from Steps
4. When inheriting,
a. non-intersecting elements are merged
b. for intersecting elements, non-intersecting attributes are merged
c. for intersecting elements, for intersecting attributes, child overrides parent
5. Lists ( and ) support merge=true|false attribute
- Author:
- ctedlock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchContainerJSLMerger
public BatchContainerJSLMerger()
mergeStep
public String mergeStep(String childJobXml,
String parentStepXml,
String childStepID)
- Specified by:
mergeStep in interface JSLInheritanceMerger
mergeJob
public String mergeJob(String parentJobXML,
String childJobXML)
- Specified by:
mergeJob in interface JSLInheritanceMerger
jobResolveHelper
public JSLJob jobResolveHelper(String jobXML)
stepResolveHelper
public Step stepResolveHelper(String stepXML)
mergeStep
public Step mergeStep(Step parent,
Step child)
- Parameters:
parent - the parent Stepchild - the child Step
- Returns:
- the resulting merged Step
mergeChunk
public Chunk mergeChunk(Chunk parentChunk,
Chunk childChunk)
mergeJob
public JSLJob mergeJob(JSLJob parent,
JSLJob child)
- Parameters:
parent - the parent Jobchild - the child Job
- Returns:
- the resulting merged job
Copyright © 2013. All Rights Reserved.