com.ibm.batch.container.modelresolver.impl
Class AbstractPropertyResolver<B>
java.lang.Object
com.ibm.batch.container.modelresolver.impl.AbstractPropertyResolver<B>
- All Implemented Interfaces:
- PropertyResolver<B>
- Direct Known Subclasses:
- BatchletPropertyResolverImpl, CheckpointAlgorithmPropertyResolverImpl, ChunkPropertyResolverImpl, ControlElementPropertyResolverImpl, DecisionPropertyResolverImpl, FlowPropertyResolverImpl, JobPropertyResolverImpl, ListenerPropertyResolverImpl, PartitionMapperPropertyResolverImpl, PartitionPlanPropertyResolverImpl, PartitionPropertyResolverImpl, PartitionReducerPropertyResolverImpl, SplitPropertyResolverImpl, StepPropertyResolverImpl
public abstract class AbstractPropertyResolver<B>
- extends Object
- implements PropertyResolver<B>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPropertyResolver
public AbstractPropertyResolver()
substituteProperties
public B substituteProperties(B b)
- Description copied from interface:
PropertyResolver
- Convenience method that is the same as calling substituteProperties(batchElement,
null, null)
- Specified by:
substituteProperties in interface PropertyResolver<B>
- Returns:
substituteProperties
public B substituteProperties(B b,
Properties submittedProps)
- Description copied from interface:
PropertyResolver
- Convenience method that is the same as calling substituteProperties(batchElement,
submittedProps, null)
- Specified by:
substituteProperties in interface PropertyResolver<B>
resolveElementProperties
protected Properties resolveElementProperties(List<Property> elementProperties,
Properties submittedProps,
Properties parentProps)
- Parameters:
elementProperties - xml properties that are direct children of the current elementsubmittedProps - submitted job propertiesparentProps - resolved parent properties
- Returns:
- the properties associated with this elements scope
replaceAllProperties
protected String replaceAllProperties(String str,
Properties submittedProps,
Properties xmlProperties)
- Replace all the properties in String str.
- Parameters:
str - submittedProps - xmlProperties -
- Returns:
Copyright © 2013. All Rights Reserved.