public static class DashboardState.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
DashboardState |
build()
Returns the final constructed
DashboardState |
DashboardState.Builder |
columns(Iterable<? extends Iterable<GadgetState>> columns)
Deprecated.
|
DashboardState.Builder |
dashboardColumns(Iterable<? extends Iterable<DashboardItemState>> 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. |
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 DashboardStatepublic 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@Deprecated 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 objectsdashboardColumns(java.lang.Iterable<? extends java.lang.Iterable<com.atlassian.gadgets.DashboardItemState>>) instead. Since v3.11.public DashboardState.Builder dashboardColumns(Iterable<? extends Iterable<DashboardItemState>> columns)
DashboardState under construction and return this Builder
to allow further construction to be done.columns - an Iterable list of GadgetState objectspublic 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 objectpublic DashboardState build()
DashboardStateDashboardStateCopyright © 2024 Atlassian. All rights reserved.