Package com.atlassian.bitbucket.content
Class Submodule
java.lang.Object
com.atlassian.bitbucket.content.Submodule
- All Implemented Interfaces:
ContentTreeNode
Represents a remote link in a source tree
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bitbucket.content.ContentTreeNode
ContentTreeNode.Type
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bitbucket.content.ContentTreeNode
getContentId, getPath
-
Constructor Details
-
Submodule
public Submodule()
-
-
Method Details
-
getBrowseUrl
- Returns:
- an optional URL to the remote submodule repository at a specific commit, or
null
. The structure of this URL is dependent on the hosting server (e.g. Bitbucket or Github).
-
getRepositoryUrl
- Returns:
- an optional URL to the remote repository containing this submodule, or
null
.
-
getType
- Specified by:
getType
in interfaceContentTreeNode
- Returns:
- the type of the ContentTreeNode
-
getUrl
- Returns:
- the mandatory SCM URL to the remote repository.
-