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