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 booleandebugEnabledprivate java.util.LinkedList<java.lang.Object>interpolationTargetsprivate org.codehaus.plexus.logging.Loggerloggerprivate StringSearchModelInterpolatormodelInterpolatorprivate java.util.List<org.codehaus.plexus.interpolation.InterpolationPostProcessor>postProcessorsprivate 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 voidevaluateArray(java.lang.Object target)private booleanisQualifiedForInterpolation(java.lang.Class<?> cls)private booleanisQualifiedForInterpolation(java.lang.reflect.Field field, java.lang.Class<?> fieldType)ModelInterpolationExceptionrun()private voidtraverseObjectWithParents(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
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:
runin 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
-
-