public interface

AvailableScm

com.atlassian.bitbucket.scm.AvailableScm

Class Overview

An SCM available for creating new repositories.

Summary

Fields
public static final Function<AvailableScmString> TO_ID This field is deprecated. in 4.0 for removal in 5.0. With Java 8, AvailableScm::getId can be used instead.
Public Methods
@Nonnull String getId()
@Nonnull String getName()

Fields

public static final Function<AvailableScmString> TO_ID

This field is deprecated.
in 4.0 for removal in 5.0. With Java 8, AvailableScm::getId can be used instead.

Public Methods

@Nonnull public String getId ()

Returns
  • the SCM's identifier, which is guaranteed to be unique across all available SCMs

@Nonnull public String getName ()

Returns
  • the SCM's human-readable name