Class IdentifiedScm

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.apache.maven.model.InputLocationTracker

    public class IdentifiedScm
    extends org.apache.maven.model.Scm
    Unlike repositories the scm of the Project Model doesn't have an id. This makes it quite hard to bind it to the credentials of a server as specified in the settings.xml
    Since:
    2.3
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String id  
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentifiedScm()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      void setId​(java.lang.String id)  
      • Methods inherited from class org.apache.maven.model.Scm

        clone, getChildScmConnectionInheritAppendPath, getChildScmDeveloperConnectionInheritAppendPath, getChildScmUrlInheritAppendPath, getConnection, getDeveloperConnection, getLocation, getTag, getUrl, isChildScmConnectionInheritAppendPath, isChildScmDeveloperConnectionInheritAppendPath, isChildScmUrlInheritAppendPath, setChildScmConnectionInheritAppendPath, setChildScmConnectionInheritAppendPath, setChildScmDeveloperConnectionInheritAppendPath, setChildScmDeveloperConnectionInheritAppendPath, setChildScmUrlInheritAppendPath, setChildScmUrlInheritAppendPath, setConnection, setDeveloperConnection, setLocation, setOtherLocation, setTag, setUrl, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        private java.lang.String id
    • Constructor Detail

      • IdentifiedScm

        public IdentifiedScm()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        the id
      • setId

        public void setId​(java.lang.String id)
        Parameters:
        id - the id to set