Class InputSource

java.lang.Object
org.apache.maven.model.InputSource
All Implemented Interfaces:
Serializable, Cloneable

public class InputSource extends Object implements Serializable, Cloneable
Class InputSource.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • InputSource

      public InputSource()
    • InputSource

      public InputSource(InputSource source)
  • Method Details

    • clone

      public InputSource clone()
      Method clone.
      Overrides:
      clone in class Object
      Returns:
      InputSource
    • getLocation

      public String getLocation()
      Get the path/URL of the POM or null if unknown.
      Returns:
      String
    • getModelId

      public String getModelId()
      Get the identifier of the POM in the format <groupId>:<artifactId>:<version>.
      Returns:
      String
    • setLocation

      public void setLocation(String location)
      Set the path/URL of the POM or null if unknown.
      Parameters:
      location -
    • setModelId

      public void setModelId(String modelId)
      Set the identifier of the POM in the format <groupId>:<artifactId>:<version>.
      Parameters:
      modelId -
    • getImportedFrom

      public InputLocation getImportedFrom()
      Get the location of the POM from which this POM was
      Returns:
    • setImportedFrom

      public void setImportedFrom(InputLocation importedFrom)
      Set the location of the POM from which this POM was imported from.
      Parameters:
      importedFrom -
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toApiSource

      public InputSource toApiSource()