Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT
Default parameter value.
|
static String |
NAME
Parameter name.
|
Constructor and Description |
---|
UserParam(String str)
Constructor.
|
UserParam(org.apache.hadoop.security.UserGroupInformation ugi)
Construct an object from a UGI.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static org.apache.hadoop.hdfs.web.resources.StringParam.Domain |
getUserPatternDomain() |
String |
getValueString() |
static void |
setUserPattern(String pattern) |
static void |
setUserPatternDomain(org.apache.hadoop.hdfs.web.resources.StringParam.Domain dm) |
getValue, toSortedString, toString
public static final String NAME
public static final String DEFAULT
public UserParam(String str)
str
- a string representation of the parameter value.public UserParam(org.apache.hadoop.security.UserGroupInformation ugi)
public static org.apache.hadoop.hdfs.web.resources.StringParam.Domain getUserPatternDomain()
public static void setUserPatternDomain(org.apache.hadoop.hdfs.web.resources.StringParam.Domain dm)
public static void setUserPattern(String pattern)
public String getName()
public String getValueString()
getValueString
in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
Copyright © 2018 Apache Software Foundation. All Rights Reserved.