public abstract class

Submodule

extends Object
implements ContentTreeNode
java.lang.Object
   ↳ com.atlassian.bitbucket.content.Submodule

Class Overview

Represents a remote link in a source tree

Summary

Public Constructors
Submodule()
Public Methods
@Nullable abstract String getBrowseUrl()
@Nullable abstract String getRepositoryUrl()
@Nonnull ContentTreeNode.Type getType()
@Nonnull abstract String getUrl()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.content.ContentTreeNode

Public Constructors

public Submodule ()

Public Methods

@Nullable public abstract String 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).

@Nullable public abstract String getRepositoryUrl ()

Returns
  • an optional URL to the remote repository containing this submodule, or null.

@Nonnull public ContentTreeNode.Type getType ()

@Nonnull public abstract String getUrl ()

Returns
  • the mandatory SCM URL to the remote repository.