Class FsActionParam

java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
org.apache.hadoop.hdfs.web.resources.FsActionParam

public class FsActionParam extends Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
FsAction Parameter
  • Field Details

  • Constructor Details

    • FsActionParam

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

      public FsActionParam(org.apache.hadoop.fs.permission.FsAction value)
      Constructor.
      Parameters:
      value - the parameter value.
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class Param<String,org.apache.hadoop.hdfs.web.resources.StringParam.Domain>
      Returns:
      the parameter name.
    • getValueString

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