Class ImmutableDirectory.Builder

java.lang.Object
com.atlassian.crowd.embedded.impl.ImmutableDirectory.Builder
Enclosing class:
ImmutableDirectory

public static final class ImmutableDirectory.Builder extends Object
Used to aid in the construction of an ImmutableDirectory.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • toDirectory

      public Directory toDirectory()
      Returns an immutable Directory object with the properties set in this builder.
      Returns:
      an immutable Directory object with the properties set in this builder.
    • setId

      public void setId(Long id)
    • setName

      public void setName(String name)
    • setActive

      public void setActive(boolean active)
    • setEncryptionType

      public void setEncryptionType(String encryptionType)
    • setDescription

      public void setDescription(String description)
    • setType

      public void setType(DirectoryType type)
    • setImplementationClass

      public void setImplementationClass(String implementationClass)
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
    • setUpdatedDate

      public void setUpdatedDate(Date updatedDate)
    • setAllowedOperations

      public void setAllowedOperations(Set<OperationType> allowedOperations)
    • setAttributes

      public void setAttributes(Map<String,String> attributes)