Cookie Notice

Use Tree Navigation
public class

RestDocUtils

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.rest.util.RestDocUtils

Class Overview

Utilities for REST documentation generation.

Summary

Constants
String PROJECT_DESCRIPTION
int PROJECT_ID
String PROJECT_KEY
String PROJECT_NAME
int REPOSITORY_ID
String REPOSITORY_NAME
String REPOSITORY_SCM_ID
String REPOSITORY_SLUG
Public Constructors
RestDocUtils()
Public Methods
static <T extends RestMapEntity> T decorate(T t, Map<String, ?> values)
@SafeVarargs static <T> RestPage<T> pageOf(T... values)
static RestNamedLink selfLink(Class<?> type)
static RestMapEntity wrap(Collection<? extends RestMapEntity> entities, String wrapperName)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROJECT_DESCRIPTION

Constant Value: "The description for my cool project."

public static final int PROJECT_ID

Constant Value: 1 (0x00000001)

public static final String PROJECT_KEY

Constant Value: "PRJ"

public static final String PROJECT_NAME

Constant Value: "My Cool Project"

public static final int REPOSITORY_ID

Constant Value: 1 (0x00000001)

public static final String REPOSITORY_NAME

Constant Value: "My repo"

public static final String REPOSITORY_SCM_ID

Constant Value: "git"

public static final String REPOSITORY_SLUG

Constant Value: "my-repo"

Public Constructors

public RestDocUtils ()

Public Methods

public static T decorate (T t, Map<String, ?> values)

@SafeVarargs public static RestPage<T> pageOf (T... values)

public static RestNamedLink selfLink (Class<?> type)

public static RestMapEntity wrap (Collection<? extends RestMapEntity> entities, String wrapperName)

Feedback?
View cookie preferences