Interface ModelProcessor

All Known Implementing Classes:
DefaultModelProcessor

public interface ModelProcessor
ModelProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the file containing the pom to be parsed or null if a pom can not be found at the given file or in the given directory.
    Reads the model from the specified byte stream.
  • Method Details

    • locateExistingPom

      @Nullable Path locateExistingPom(@Nonnull Path project)
      Returns the file containing the pom to be parsed or null if a pom can not be found at the given file or in the given directory.
    • read

      Reads the model from the specified byte stream. The stream will be automatically closed before the method returns.
      Parameters:
      request - The reader request to deserialize the model, must not be null.
      Returns:
      The deserialized model, never null.
      Throws:
      IOException - If the model could not be deserialized.
      XmlReaderException - If the input format could not be parsed.