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 -
    • toString

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

      public InputSource toApiSource()