| Package | Description |
|---|---|
| com.atlassian.gadgets |
This package contains the main APIs for interacting with gadgets.
|
| com.atlassian.gadgets.dashboard |
This package contains the main APIs for interacting with dashboards and gadgets.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GadgetState
An immutable extension of DashboardItemState.
|
class |
LocalDashboardItemState
Represents the state of the dashboard item which is not based on Open Social specification but is based on the description
provided in the plugin.
|
| Modifier and Type | Method and Description |
|---|---|
List<List<DashboardItemState>> |
DashboardColumns.getColumns()
Returns an immutable List of all columns represented as a list of items.
|
List<DashboardItemState> |
DashboardColumns.getItemsInColumn(DashboardState.ColumnIndex column)
Returns an immutable
List of the DashboardStateItems in the given column. |
| Modifier and Type | Method and Description |
|---|---|
DashboardState |
DashboardState.appendItemToColumn(DashboardItemState itemState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as
this, except that the column with index
index has had a new gadget added to its bottom |
io.atlassian.fugue.Option<DashboardItemRepresentation> |
DashboardItemRepresentationService.getRepresentation(DashboardItemState itemState,
DashboardItemRepresentationService.RenderingContext context)
Returns a dashboard item representation.
|
DashboardState |
DashboardState.prependItemToColumn(DashboardItemState itemState,
DashboardState.ColumnIndex index)
Returns a new DashboardState built with the same data as
this, except that the column with index
index has had a new gadget added to its top |
| Modifier and Type | Method and Description |
|---|---|
DashboardState.Builder |
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. |
static DashboardColumns |
DashboardColumns.from(Iterable<? extends Iterable<DashboardItemState>> columns,
int numberOfColumns) |
Copyright © 2024 Atlassian. All rights reserved.