Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
Constructor and Description |
---|
LengthParam(Long value)
Constructor.
|
LengthParam(String str)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
String |
getName() |
String |
getValueString() |
String |
toString() |
getValue, toSortedString
public static final String NAME
public static final String DEFAULT
public LengthParam(Long value)
value
- the parameter value.public LengthParam(String str)
str
- a string representation of the parameter value.public String getName()
public long getLength()
public String toString()
public String getValueString()
getValueString
in class Param<Long,org.apache.hadoop.hdfs.web.resources.LongParam.Domain>
Copyright © 2018 Apache Software Foundation. All Rights Reserved.