public final class PropertyResolver extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
jobParametersToken |
protected static String |
jobPropertiesToken |
protected static String |
partitionPlanToken |
protected static String |
systemPropertiesToken |
Constructor and Description |
---|
PropertyResolver() |
Modifier and Type | Method and Description |
---|---|
void |
resolve(Job job)
Resolves property expressions for job-level elements contained in the job.
|
void |
resolve(Step step)
Resolves property expressions for step-level elements contained in the step.
|
void |
setJobParameters(Properties jobParameters)
Sets job parameters to be used for resolving expressions referencing job parameters.
|
void |
setPartitionPlanProperties(Properties partitionPlanProperties)
Sets partition plan properties to be used for resolving expressions referencing partition plan properties.
|
void |
setResolvePartitionPlanProperties(boolean resolvePartitionPlanProperties)
Sets the flag whether this class need to resolve partition plan properties or not.
|
protected static final String jobParametersToken
protected static final String jobPropertiesToken
protected static final String systemPropertiesToken
protected static final String partitionPlanToken
public void setJobParameters(Properties jobParameters)
jobParameters
- job parameters as java.util.Properties
public void setPartitionPlanProperties(Properties partitionPlanProperties)
partitionPlanProperties
- partition plan properties as java.util.Properties
public void setResolvePartitionPlanProperties(boolean resolvePartitionPlanProperties)
resolvePartitionPlanProperties
- whether to resolve partition plan or notpublic void resolve(Job job)
job
- the job element whose properties need to be resolvedpublic void resolve(Step step)
step
- the step element whose properties need to be resolvedCopyright © 2017 JBoss by Red Hat. All rights reserved.