Enum KiiACL.BucketAction

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static KiiACL.BucketAction valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static KiiACL.BucketAction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • QUERY_OBJECTS_IN_BUCKET

        public static final KiiACL.BucketAction QUERY_OBJECTS_IN_BUCKET
        Action of query object in the bucket.
      • CREATE_OBJECTS_IN_BUCKET

        public static final KiiACL.BucketAction CREATE_OBJECTS_IN_BUCKET
        Action of create object in the bucket.
      • DROP_BUCKET_WITH_ALL_CONTENT

        public static final KiiACL.BucketAction DROP_BUCKET_WITH_ALL_CONTENT
        Action of drop bucket. It will also remove all the contents in the bucket.
      • READ_OBJECTS_IN_BUCKET

        public static final KiiACL.BucketAction READ_OBJECTS_IN_BUCKET
        If this Action is granted, subject can READ the objects stored in the bucket. When it's dropped, subject can only READ the objects that has ACL entry allows subject to READ (KiiACL.ObjectAction.READ_EXISTING_OBJECT).
    • Method Detail

      • values

        public static KiiACL.BucketAction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KiiACL.BucketAction c : KiiACL.BucketAction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KiiACL.BucketAction valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null