public class LongParam extends Param<Long>
clazz, defaultValue, description, name, validator
Constructor and Description |
---|
LongParam(String name,
String description,
Long defaultValue) |
LongParam(String name,
String description,
Long defaultValue,
ParamValidator<Long> validator) |
Modifier and Type | Method and Description |
---|---|
Long |
jsonDecode(Object json)
Decodes the given json-supported object into an object of class type T.
|
equals, hashCode, jsonEncode, toString
public LongParam(String name, String description, Long defaultValue, ParamValidator<Long> validator)
public Long jsonDecode(Object json) throws IOException
Param
jsonDecode
in class Param<Long>
json
- A json-supported object.IOException
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.