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 IntegerfromString(String value)Option values are serialized to strings using toString() call.StringtoString(Integer value)Serialize option value to string
-
-
-
Method Detail
-
fromString
public Integer fromString(@NotNull String value)
Description copied from class:OptionOption values are serialized to strings using toString() call. To restore option value from string this method is used- Specified by:
fromStringin classOption<Integer>- Parameters:
value- serialized option valueObject.toString()method is used for serialization)- Returns:
- deserialized value
-
-