public abstract class

Submodule

extends Object
implements ContentTreeNode
java.lang.Object
   ↳ com.atlassian.stash.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.stash.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 changeset, or null. This URL is completely dependent on the destination host (ie Stash, Github, Bitbucket, etc).

@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.