Class StringSearchModelInterpolator.InterpolateObjectAction
- java.lang.Object
-
- org.apache.maven.project.interpolation.StringSearchModelInterpolator.InterpolateObjectAction
-
- All Implemented Interfaces:
java.security.PrivilegedAction<ModelInterpolationException>
- Enclosing class:
- StringSearchModelInterpolator
private static final class StringSearchModelInterpolator.InterpolateObjectAction extends java.lang.Object implements java.security.PrivilegedAction<ModelInterpolationException>
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
debugEnabled
private java.util.LinkedList<java.lang.Object>
interpolationTargets
private org.codehaus.plexus.logging.Logger
logger
private StringSearchModelInterpolator
modelInterpolator
private java.util.List<org.codehaus.plexus.interpolation.InterpolationPostProcessor>
postProcessors
private java.util.List<org.codehaus.plexus.interpolation.ValueSource>
valueSources
-
Constructor Summary
Constructors Constructor Description InterpolateObjectAction(java.lang.Object target, java.util.List<org.codehaus.plexus.interpolation.ValueSource> valueSources, java.util.List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, boolean debugEnabled, StringSearchModelInterpolator modelInterpolator, org.codehaus.plexus.logging.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
evaluateArray(java.lang.Object target)
private boolean
isQualifiedForInterpolation(java.lang.Class<?> cls)
private boolean
isQualifiedForInterpolation(java.lang.reflect.Field field, java.lang.Class<?> fieldType)
ModelInterpolationException
run()
private void
traverseObjectWithParents(java.lang.Class<?> cls, java.lang.Object target)
-
-
-
Field Detail
-
debugEnabled
private final boolean debugEnabled
-
interpolationTargets
private final java.util.LinkedList<java.lang.Object> interpolationTargets
-
modelInterpolator
private final StringSearchModelInterpolator modelInterpolator
-
logger
private final org.codehaus.plexus.logging.Logger logger
-
valueSources
private final java.util.List<org.codehaus.plexus.interpolation.ValueSource> valueSources
-
postProcessors
private final java.util.List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors
-
-
Constructor Detail
-
InterpolateObjectAction
public InterpolateObjectAction(java.lang.Object target, java.util.List<org.codehaus.plexus.interpolation.ValueSource> valueSources, java.util.List<org.codehaus.plexus.interpolation.InterpolationPostProcessor> postProcessors, boolean debugEnabled, StringSearchModelInterpolator modelInterpolator, org.codehaus.plexus.logging.Logger logger)
-
-
Method Detail
-
run
public ModelInterpolationException run()
- Specified by:
run
in interfacejava.security.PrivilegedAction<ModelInterpolationException>
-
traverseObjectWithParents
private void traverseObjectWithParents(java.lang.Class<?> cls, java.lang.Object target) throws ModelInterpolationException
- Throws:
ModelInterpolationException
-
isQualifiedForInterpolation
private boolean isQualifiedForInterpolation(java.lang.Class<?> cls)
-
isQualifiedForInterpolation
private boolean isQualifiedForInterpolation(java.lang.reflect.Field field, java.lang.Class<?> fieldType)
-
evaluateArray
private void evaluateArray(java.lang.Object target) throws ModelInterpolationException
- Throws:
ModelInterpolationException
-
-