Package com.atlassian.gadgets
Class GadgetState.SpecUriBuilder
java.lang.Object
com.atlassian.gadgets.GadgetState.SpecUriBuilder
- Enclosing class:
- GadgetState
A builder that allows you to set the spec URI of the gadget state under construction
-
Method Details
-
specUri
Sets the spec URI of theGadgetStateunder construction and returns aBuilderto allow theColorand user prefs to be set.- Parameters:
specUri- the spec URI to use for the gadget- Returns:
Builderallowing further construction of theGadgetState- Throws:
URISyntaxException- if thespecUriis not a validURI
-
specUri
Sets the spec URI of theGadgetStateunder construction and returns aBuilderto allow theColorand user prefs to be set.- Parameters:
specUri- the spec URI to use for the gadget- Returns:
Builderallowing further construction of theGadgetState
-