|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.GadgetRequestContext.Builder
public static class GadgetRequestContext.Builder
A builder that facilitates construction of GadgetRequestContext
objects. The final GadgetRequestContext
is created by calling the build()
method
Constructor Summary | |
---|---|
GadgetRequestContext.Builder()
|
Method Summary | |
---|---|
GadgetRequestContext |
build()
Returns the final constructed GadgetRequestContext |
static GadgetRequestContext.Builder |
gadgetRequestContext()
Get a new GadgetRequestContext Builder |
GadgetRequestContext.Builder |
ignoreCache(Boolean ignoreCache)
Set the cache setting of the GadgetRequestContext under construction and return this Builder
to allow further construction to be done. |
GadgetRequestContext.Builder |
locale(Locale locale)
Set the Locale of the GadgetRequestContext under construction and return this Builder
to allow further construction to be done. |
GadgetRequestContext.Builder |
viewer(String viewer)
Set the current user of the GadgetRequestContext 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 |
Constructor Detail |
---|
public GadgetRequestContext.Builder()
Method Detail |
---|
public static GadgetRequestContext.Builder gadgetRequestContext()
public GadgetRequestContext build()
GadgetRequestContext
GadgetRequestContext
public GadgetRequestContext.Builder locale(Locale locale)
Locale
of the GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
locale
- the Locale
to use for the GadgetRequestContext
public GadgetRequestContext.Builder ignoreCache(Boolean ignoreCache)
GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
ignoreCache
- the cache setting of this GadgetRequestContext
public GadgetRequestContext.Builder viewer(String viewer)
GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
viewer
- the current user to use for the GadgetRequestContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |