|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.spec.GadgetSpec.Builder
public static class GadgetSpec.Builder
A builder that facilitates construction of GadgetSpec
objects. The final GadgetSpec
is created by calling the build()
method
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 GadgetSpec
public 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 GadgetSpec
public GadgetSpec.Builder height(int height)
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
height
- the height of this GadgetSpec
public GadgetSpec.Builder width(int width)
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
width
- the width of this GadgetSpec
public GadgetSpec.Builder title(String title)
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
title
- the title of this GadgetSpec
public 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 GadgetSpec
public 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 GadgetSpec
public GadgetSpec.Builder author(String author)
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
author
- the author of this GadgetSpec
public 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 GadgetSpec
public GadgetSpec.Builder description(String description)
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
description
- the description of this GadgetSpec
public 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 GadgetSpec
public 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 GadgetSpec
public 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 GadgetSpec
public 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 GadgetSpec
public GadgetSpec build()
GadgetSpec
GadgetSpec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |