Package org.apache.maven.model.path
Class ProfileActivationFilePathInterpolator
- java.lang.Object
-
- org.apache.maven.model.path.ProfileActivationFilePathInterpolator
-
@Named @Singleton public class ProfileActivationFilePathInterpolator extends Object
Finds an absolute path forActivationFile.getExists()
orActivationFile.getMissing()
- Author:
- Ravil Galeyev
-
-
Constructor Summary
Constructors Constructor Description ProfileActivationFilePathInterpolator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
interpolate(String path, ProfileActivationContext context)
Interpolates givenpath
.ProfileActivationFilePathInterpolator
setPathTranslator(PathTranslator pathTranslator)
-
-
-
Method Detail
-
setPathTranslator
public ProfileActivationFilePathInterpolator setPathTranslator(PathTranslator pathTranslator)
-
interpolate
public String interpolate(String path, ProfileActivationContext context) throws org.codehaus.plexus.interpolation.InterpolationException
Interpolates givenpath
.- Returns:
- absolute path or
null
if the input wasnull
- Throws:
org.codehaus.plexus.interpolation.InterpolationException
-
-