public static class GadgetSpec.Builder extends Object
GadgetSpec objects. The final GadgetSpec
is created by calling the build() method| Modifier and Type | Method and Description |
|---|---|
GadgetSpec.Builder |
author(String author)
Set the author of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
authorEmail(String authorEmail)
Set the author email of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec |
build()
Returns the final constructed
GadgetSpec |
GadgetSpec.Builder |
description(String description)
Set the description of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
directoryTitle(String directoryTitle)
Set the directory title of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
features(Map<String,Feature> features)
Set the
Map of Feature for the GadgetSpec under construction and return
this Builder to allow further construction to be done. |
GadgetSpec.Builder |
height(int height)
Set the height of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
scrolling(boolean scrolling)
Set the scrolling setting of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
thumbnail(URI thumbnail)
Set the thumbnail
URI of the GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
title(String title)
Set the title of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
titleUrl(URI titleUrl)
Set the title
URI of the GadgetSpec under construction and return this Builder
to allow further construction to be done. |
GadgetSpec.Builder |
unsupportedFeatureNames(Iterable<String> unsupportedFeatureNames)
Set the list of unsupported features for the
GadgetSpec under construction and return
this Builder to allow further construction to be done. |
GadgetSpec.Builder |
userPrefs(Iterable<UserPrefSpec> userPrefs)
Set the list of
UserPrefSpec objects for the GadgetSpec under construction and return
this Builder to allow further construction to be done. |
GadgetSpec.Builder |
viewsNames(Set<String> viewsNames)
Set the list of view names for the
GadgetSpec under construction and return
this Builder to allow further construction to be done. |
GadgetSpec.Builder |
width(int width)
Set the width of the
GadgetSpec under construction and return this Builder
to allow further construction to be done. |
public GadgetSpec.Builder userPrefs(Iterable<UserPrefSpec> userPrefs)
UserPrefSpec objects for the GadgetSpec under construction and return
this Builder to allow further construction to be done.userPrefs - the list of UserPrefSpec to use as the user preference values for the GadgetSpecpublic GadgetSpec.Builder scrolling(boolean scrolling)
GadgetSpec under construction and return this Builder
to allow further construction to be done.scrolling - the scrolling setting of this GadgetSpecpublic GadgetSpec.Builder height(int height)
GadgetSpec under construction and return this Builder
to allow further construction to be done.height - the height of this GadgetSpecpublic GadgetSpec.Builder width(int width)
GadgetSpec under construction and return this Builder
to allow further construction to be done.width - the width of this GadgetSpecpublic GadgetSpec.Builder title(String title)
GadgetSpec under construction and return this Builder
to allow further construction to be done.title - the title of this GadgetSpecpublic GadgetSpec.Builder titleUrl(URI titleUrl)
URI of the GadgetSpec under construction and return this Builder
to allow further construction to be done.titleUrl - the title URI of this GadgetSpecpublic GadgetSpec.Builder thumbnail(URI thumbnail)
URI of the GadgetSpec under construction and return this Builder
to allow further construction to be done.thumbnail - the thumbnail URI of this GadgetSpecpublic GadgetSpec.Builder author(String author)
GadgetSpec under construction and return this Builder
to allow further construction to be done.author - the author of this GadgetSpecpublic GadgetSpec.Builder authorEmail(String authorEmail)
GadgetSpec under construction and return this Builder
to allow further construction to be done.authorEmail - the author email of this GadgetSpecpublic GadgetSpec.Builder description(String description)
GadgetSpec under construction and return this Builder
to allow further construction to be done.description - the description of this GadgetSpecpublic GadgetSpec.Builder directoryTitle(String directoryTitle)
GadgetSpec under construction and return this Builder
to allow further construction to be done.directoryTitle - the directory title of this GadgetSpecpublic GadgetSpec.Builder features(Map<String,Feature> features)
Map of Feature for the GadgetSpec under construction and return
this Builder to allow further construction to be done.features - the Map of Feature for the GadgetSpecpublic GadgetSpec.Builder unsupportedFeatureNames(Iterable<String> unsupportedFeatureNames)
GadgetSpec under construction and return
this Builder to allow further construction to be done.unsupportedFeatureNames - the list of unsupported features for the GadgetSpecpublic GadgetSpec.Builder viewsNames(Set<String> viewsNames)
GadgetSpec under construction and return
this Builder to allow further construction to be done.viewsNames - the list of view names for the GadgetSpecpublic GadgetSpec build()
GadgetSpecGadgetSpecCopyright © 2024 Atlassian. All rights reserved.