com.atlassian.crowd.embedded.impl
Class ImmutableDirectory.Builder

java.lang.Object
  extended by 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 Summary
ImmutableDirectory.Builder()
           
 
Method Summary
 void setActive(boolean active)
           
 void setAllowedOperations(Set<OperationType> allowedOperations)
           
 void setAttributes(Map<String,String> attributes)
           
 void setCreatedDate(Date createdDate)
           
 void setDescription(String description)
           
 void setEncryptionType(String encryptionType)
           
 void setId(Long id)
           
 void setImplementationClass(String implementationClass)
           
 void setName(String name)
           
 void setType(DirectoryType type)
           
 void setUpdatedDate(Date updatedDate)
           
 Directory toDirectory()
          Returns an immutable Directory object with the properties set in this builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableDirectory.Builder

public ImmutableDirectory.Builder()
Method Detail

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)


Copyright © 2014 Atlassian. All Rights Reserved.