Class UnmaskedPermissionParam

java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>
org.apache.hadoop.hdfs.web.resources.PermissionParam
org.apache.hadoop.hdfs.web.resources.UnmaskedPermissionParam

public class UnmaskedPermissionParam extends PermissionParam
Unmasked permission parameter, use a Short to represent a FsPermission.
  • Field Details

  • Constructor Details

    • UnmaskedPermissionParam

      public UnmaskedPermissionParam(org.apache.hadoop.fs.permission.FsPermission value)
      Constructor.
      Parameters:
      value - the parameter value.
    • UnmaskedPermissionParam

      public UnmaskedPermissionParam(String str)
      Constructor.
      Parameters:
      str - a string representation of the parameter value.
  • Method Details

    • getName

      public String getName()
      Overrides:
      getName in class PermissionParam
      Returns:
      the parameter name.
    • toString

      public String toString()
      Overrides:
      toString in class Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>
    • getValueString

      public final String getValueString()
      Specified by:
      getValueString in class Param<Short,org.apache.hadoop.hdfs.web.resources.ShortParam.Domain>
      Returns:
      the parameter value as a string