Class Entry
java.lang.Object
com.realtime.crossfire.jxclient.settings.Entry
The value part of an entry of a settings file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the documentation string.@NotNull StringgetValue()Returns the value.booleansetDocumentation(@Nullable String documentation) Sets the documentation string.voidSets the value.
-
Constructor Details
-
Entry
Creates a new instance.- Parameters:
value- the valuedocumentation- the documentation string ornullif unknown
-
-
Method Details
-
getValue
Returns the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the value
-
getDocumentation
Returns the documentation string.- Returns:
- the documentation string or
nullif unknown
-
setDocumentation
Sets the documentation string.- Parameters:
documentation- the documentation string ornullif unknown- Returns:
- whether the documentation string has changed
-