public static class GadgetState.Builder extends Object
| Constructor and Description |
|---|
Builder(GadgetState state) |
| Modifier and Type | Method and Description |
|---|---|
GadgetState |
build()
Returns the final constructed
GadgetState |
GadgetState.Builder |
color(Color color)
Set the
Color of the GadgetState under construction and return this Builder
to allow further construction to be done. |
GadgetState.Builder |
userPrefs(Map<String,String> userPrefs)
Set the
Map of user preference values for the GadgetState under construction and return
this Builder to allow further construction to be done. |
public Builder(GadgetState state)
public GadgetState.Builder color(Color color)
Color of the GadgetState under construction and return this Builder
to allow further construction to be done.color - the Color to use for the GadgetStatepublic GadgetState.Builder userPrefs(Map<String,String> userPrefs)
Map of user preference values for the GadgetState under construction and return
this Builder to allow further construction to be done.userPrefs - the Map to use as the user preference values for the GadgetStatepublic GadgetState build()
GadgetStateGadgetStateCopyright © 2024 Atlassian. All rights reserved.