Package org.apache.maven.model
Class Scm
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Scm
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetLocation(Object key) Gets the location of the specified field in the input source.getTag()getUrl()inthashCode()booleanbooleanbooleanprotected booleanscmToApiV3(List<Scm> list) scmToApiV4(List<Scm> list) voidsetChildScmConnectionInheritAppendPath(String childScmConnectionInheritAppendPath) voidsetChildScmDeveloperConnectionInheritAppendPath(String childScmDeveloperConnectionInheritAppendPath) voidsetChildScmUrlInheritAppendPath(String childScmUrlInheritAppendPath) voidsetConnection(String connection) voidsetDeveloperConnection(String developerConnection) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidtoString()Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Scm
public Scm() -
Scm
-
Scm
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
public int hashCode() -
getConnection
-
setConnection
-
getDeveloperConnection
-
setDeveloperConnection
-
getTag
-
setTag
-
getUrl
-
setUrl
-
getChildScmConnectionInheritAppendPath
-
setChildScmConnectionInheritAppendPath
-
getChildScmDeveloperConnectionInheritAppendPath
-
setChildScmDeveloperConnectionInheritAppendPath
public void setChildScmDeveloperConnectionInheritAppendPath(String childScmDeveloperConnectionInheritAppendPath) -
getChildScmUrlInheritAppendPath
-
setChildScmUrlInheritAppendPath
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classBaseObject
-
scmToApiV4
-
scmToApiV3
-
isChildScmConnectionInheritAppendPath
public boolean isChildScmConnectionInheritAppendPath() -
isChildScmDeveloperConnectionInheritAppendPath
public boolean isChildScmDeveloperConnectionInheritAppendPath() -
isChildScmUrlInheritAppendPath
public boolean isChildScmUrlInheritAppendPath() -
toString
-