Class CreateFlagParam

java.lang.Object
org.apache.hadoop.hdfs.web.resources.Param<EnumSet<E>,org.apache.hadoop.hdfs.web.resources.EnumSetParam.Domain<E>>
org.apache.hadoop.hdfs.web.resources.CreateFlagParam

public class CreateFlagParam extends Param<EnumSet<E>,org.apache.hadoop.hdfs.web.resources.EnumSetParam.Domain<E>>
CreateFlag enum.
  • Field Details

  • Constructor Details

    • CreateFlagParam

      public CreateFlagParam(EnumSet<org.apache.hadoop.fs.CreateFlag> createFlags)
    • CreateFlagParam

      public CreateFlagParam(String str)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class Param<EnumSet<org.apache.hadoop.fs.CreateFlag>,org.apache.hadoop.hdfs.web.resources.EnumSetParam.Domain<org.apache.hadoop.fs.CreateFlag>>
      Returns:
      the parameter name.
    • toString

      public String toString()
      Overrides:
      toString in class Param<EnumSet<E extends Enum<E>>,org.apache.hadoop.hdfs.web.resources.EnumSetParam.Domain<E extends Enum<E>>>
    • getValueString

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