Class CreateParentParam

java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<Boolean,org.apache.hadoop.hdfs.web.resources.BooleanParam.Domain>
org.apache.hadoop.hdfs.web.resources.CreateParentParam

public class CreateParentParam extends Param<Boolean,org.apache.hadoop.hdfs.web.resources.BooleanParam.Domain>
Create Parent parameter.
  • Field Details

  • Constructor Details

    • CreateParentParam

      public CreateParentParam(Boolean value)
      Constructor.
      Parameters:
      value - the parameter value.
    • CreateParentParam

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

    • getName

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

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