| java.lang.Object |
| ↳ |
com.atlassian.bitbucket.rest.util.RestDocUtils |
Class Overview
Utilities for REST documentation generation.
Summary
| 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
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
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
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
public
static
final
String
REPOSITORY_SLUG
Constant Value:
"my-repo"
Public Constructors
Public Methods
public
static
T
decorate
(T t, Map<String, ?> values)
@SafeVarargs
public
static
RestPage<T>
pageOf
(T... values)
public
static
RestMapEntity
wrap
(Collection<? extends RestMapEntity> entities, String wrapperName)