com.atlassian.gadgets
Class GadgetState.SpecUriBuilder

java.lang.Object
  extended by com.atlassian.gadgets.GadgetState.SpecUriBuilder
Enclosing class:
GadgetState

public static class GadgetState.SpecUriBuilder
extends Object

A builder that allows you to set the spec URI of the gadget state under construction


Method Summary
 GadgetState.Builder specUri(String specUri)
          Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.
 GadgetState.Builder specUri(URI specUri)
          Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

specUri

public GadgetState.Builder specUri(String specUri)
                            throws URISyntaxException
Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.

Parameters:
specUri - the spec URI to use for the gadget
Returns:
Builder allowing further construction of the GadgetState
Throws:
URISyntaxException - if the specUri is not a valid URI

specUri

public GadgetState.Builder specUri(URI specUri)
Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.

Parameters:
specUri - the spec URI to use for the gadget
Returns:
Builder allowing further construction of the GadgetState


Copyright © 2009 Atlassian. All Rights Reserved.