|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.dashboard.DashboardState.Builder
public static class DashboardState.Builder
A builder that allows the Layout
or the columns of the DashboardState
under construction to
be set. Creating the final DashboardState
is done by calling the build()
method.
Method Summary | |
---|---|
DashboardState |
build()
Returns the final constructed DashboardState |
DashboardState.Builder |
columns(Iterable<? extends Iterable<GadgetState>> columns)
Set the columns of the DashboardState under construction and return this Builder
to allow further construction to be done. |
DashboardState.Builder |
layout(Layout layout)
Set the Layout of the DashboardState under construction and return this Builder
to allow further construction to be done. |
DashboardState.Builder |
title(String title)
Set the title of the DashboardState under construction and return this Builder
to allow further construction to be done. |
DashboardState.Builder |
version(long version)
Set the version of the DashboardState under construction and return this Builder
to allow further construction to be done. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public DashboardState.Builder layout(Layout layout)
Layout
of the DashboardState
under construction and return this Builder
to allow further construction to be done.
layout
- the Layout
to use for the DashboardState
public DashboardState.Builder title(String title)
DashboardState
under construction and return this Builder
to allow further construction to be done.
title
- the title to use for the DashboardState
public DashboardState.Builder columns(Iterable<? extends Iterable<GadgetState>> columns)
DashboardState
under construction and return this Builder
to allow further construction to be done.
columns
- an Iterable
list of GadgetState
objects
public DashboardState.Builder version(long version)
DashboardState
under construction and return this Builder
to allow further construction to be done.
version
- the version of this DashboardState object
public DashboardState build()
DashboardState
DashboardState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |