Package jetbrains.buildServer.util
Class IntegerOption
- java.lang.Object
-
- jetbrains.buildServer.util.Option<Integer>
-
- jetbrains.buildServer.util.IntegerOption
-
-
Constructor Summary
Constructors Constructor Description IntegerOption(String key, Integer defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
fromString(String value)
Option values are serialized to strings using toString() call.String
toString(Integer value)
Serialize option value to string
-
-
-
Method Detail
-
fromString
public Integer fromString(@NotNull String value)
Description copied from class:Option
Option values are serialized to strings using toString() call. To restore option value from string this method is used- Specified by:
fromString
in classOption<Integer>
- Parameters:
value
- serialized option valueObject.toString()
method is used for serialization)- Returns:
- deserialized value
-
-