A builder of AclEntry objects.
A Builder object is obtained by invoking one of the newBuilder methods defined by the AclEntry class.
Builder objects are mutable and are not safe for use by multiple concurrent threads without appropriate synchronization.
A builder of AclEntry objects. A Builder object is obtained by invoking one of the newBuilder methods defined by the AclEntry class. Builder objects are mutable and are not safe for use by multiple concurrent threads without appropriate synchronization.
(build this)
Constructs an AclEntry from the components of this builder. The type and who components are required to have been set in order to construct an AclEntry.
returns: a new ACL entry - java.nio.file.attribute.AclEntry
throws: java.lang.IllegalStateException - if the type or who component have not been set
Constructs an AclEntry from the components of this builder. The type and who components are required to have been set in order to construct an AclEntry. returns: a new ACL entry - `java.nio.file.attribute.AclEntry` throws: java.lang.IllegalStateException - if the type or who component have not been set
(set-flags this flags)
Sets the flags component of this builder. On return, the flags component of this builder is a copy of the given set.
flags - the flags component - java.util.Set
returns: this builder - java.nio.file.attribute.AclEntry$Builder
throws: java.lang.ClassCastException - if the set contains elements that are not of type AclEntryFlag
Sets the flags component of this builder. On return, the flags component of this builder is a copy of the given set. flags - the flags component - `java.util.Set` returns: this builder - `java.nio.file.attribute.AclEntry$Builder` throws: java.lang.ClassCastException - if the set contains elements that are not of type AclEntryFlag
(set-permissions this perms)
Sets the permissions component of this builder. On return, the permissions component of this builder is a copy of the given set.
perms - the permissions component - java.util.Set
returns: this builder - java.nio.file.attribute.AclEntry$Builder
throws: java.lang.ClassCastException - if the set contains elements that are not of type AclEntryPermission
Sets the permissions component of this builder. On return, the permissions component of this builder is a copy of the given set. perms - the permissions component - `java.util.Set` returns: this builder - `java.nio.file.attribute.AclEntry$Builder` throws: java.lang.ClassCastException - if the set contains elements that are not of type AclEntryPermission
(set-principal this who)
Sets the principal component of this builder.
who - the principal component - java.nio.file.attribute.UserPrincipal
returns: this builder - java.nio.file.attribute.AclEntry$Builder
Sets the principal component of this builder. who - the principal component - `java.nio.file.attribute.UserPrincipal` returns: this builder - `java.nio.file.attribute.AclEntry$Builder`
(set-type this type)
Sets the type component of this builder.
type - the component type - java.nio.file.attribute.AclEntryType
returns: this builder - java.nio.file.attribute.AclEntry$Builder
Sets the type component of this builder. type - the component type - `java.nio.file.attribute.AclEntryType` returns: this builder - `java.nio.file.attribute.AclEntry$Builder`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close