@Named
@Singleton
public class ProfileActivationFilePathInterpolator
extends java.lang.Object
ActivationFile.getExists()
or ActivationFile.getMissing()
Modifier and Type | Field and Description |
---|---|
private PathTranslator |
pathTranslator |
Constructor and Description |
---|
ProfileActivationFilePathInterpolator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
interpolate(java.lang.String path,
ProfileActivationContext context)
Interpolates given
path . |
ProfileActivationFilePathInterpolator |
setPathTranslator(PathTranslator pathTranslator) |
@Inject private PathTranslator pathTranslator
public ProfileActivationFilePathInterpolator()
public ProfileActivationFilePathInterpolator setPathTranslator(PathTranslator pathTranslator)
public java.lang.String interpolate(java.lang.String path, ProfileActivationContext context) throws org.codehaus.plexus.interpolation.InterpolationException
path
.null
if the input was null
org.codehaus.plexus.interpolation.InterpolationException