Class ProfileActivationFilePathInterpolator

java.lang.Object
org.apache.maven.model.path.ProfileActivationFilePathInterpolator

@Named @Singleton public class ProfileActivationFilePathInterpolator extends Object
Finds an absolute path for ActivationFile.getExists() or ActivationFile.getMissing()
Author:
Ravil Galeyev
  • Constructor Details

    • ProfileActivationFilePathInterpolator

      @Inject public ProfileActivationFilePathInterpolator(PathTranslator pathTranslator, RootLocator rootLocator)
  • Method Details

    • interpolate

      public String interpolate(String path, ProfileActivationContext context) throws org.codehaus.plexus.interpolation.InterpolationException
      Interpolates given path.
      Returns:
      absolute path or null if the input was null
      Throws:
      org.codehaus.plexus.interpolation.InterpolationException