Class GadgetState.SpecUriBuilder

java.lang.Object
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 Details

    • 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