public abstract class AbstractPropertyResolver<B> extends Object implements PropertyResolver<B>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPartitionedStep |
static String |
UNRESOLVED_PROP_VALUE |
| Constructor and Description |
|---|
AbstractPropertyResolver(boolean isPartitionStep) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
replaceAllProperties(String str,
Properties submittedProps,
Properties xmlProperties)
Replace all the properties in String str.
|
protected Properties |
resolveElementProperties(List<Property> elementProperties,
Properties submittedProps,
Properties parentProps) |
B |
substituteProperties(B b,
Properties submittedProps)
Convenience method that is the same as calling substituteProperties(batchElement,
submittedProps, null)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubstitutePropertiesprotected boolean isPartitionedStep
public static final String UNRESOLVED_PROP_VALUE
public AbstractPropertyResolver(boolean isPartitionStep)
public B substituteProperties(B b, Properties submittedProps)
PropertyResolversubstituteProperties in interface PropertyResolver<B>protected Properties resolveElementProperties(List<Property> elementProperties, Properties submittedProps, Properties parentProps)
elementProperties - xml properties that are direct children of the current elementsubmittedProps - submitted job propertiesparentProps - resolved parent propertiesprotected String replaceAllProperties(String str, Properties submittedProps, Properties xmlProperties)
str - submittedProps - xmlProperties - Copyright © 2022 The Apache Software Foundation. All rights reserved.