|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
public final class UserPrefImpl
| Constructor Summary | |
|---|---|
UserPrefImpl(com.atlassian.gadgets.spec.UserPrefSpec userPrefSpec,
String value)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
com.atlassian.gadgets.spec.DataType |
getDataType()
Returns the DataType of this pref. |
String |
getDefaultValue()
Returns the pref's default value. |
String |
getDisplayName()
Returns the display name of this parameter; if not explicitly set by the gadget, returns the name. |
Map<String,String> |
getEnumValues()
Returns the possible values for an enumerated pref, or null if the pref is not an enum. |
String |
getName()
Returns the pref name. |
String |
getValue()
Returns the pref's current value. |
int |
hashCode()
|
boolean |
isRequired()
Returns true if the pref is required. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserPrefImpl(com.atlassian.gadgets.spec.UserPrefSpec userPrefSpec,
String value)
| Method Detail |
|---|
public String getName()
UserPref
getName in interface UserPrefpublic String getDisplayName()
UserPref
getDisplayName in interface UserPrefpublic boolean isRequired()
UserPref
isRequired in interface UserPrefpublic com.atlassian.gadgets.spec.DataType getDataType()
UserPrefDataType of this pref.
getDataType in interface UserPrefpublic Map<String,String> getEnumValues()
UserPref
getEnumValues in interface UserPrefpublic String getDefaultValue()
UserPref
getDefaultValue in interface UserPrefpublic String getValue()
UserPref
getValue in interface UserPrefpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||