|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
public final class UserPrefImpl
Constructor Summary | |
---|---|
UserPrefImpl(UserPrefSpec userPrefSpec,
String value)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
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(UserPrefSpec userPrefSpec, String value)
Method Detail |
---|
public String getName()
UserPref
getName
in interface UserPref
public String getDisplayName()
UserPref
getDisplayName
in interface UserPref
public boolean isRequired()
UserPref
isRequired
in interface UserPref
public DataType getDataType()
UserPref
DataType
of this pref.
getDataType
in interface UserPref
public Map<String,String> getEnumValues()
UserPref
getEnumValues
in interface UserPref
public String getDefaultValue()
UserPref
getDefaultValue
in interface UserPref
public String getValue()
UserPref
getValue
in interface UserPref
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |