public final class ImmutableDirectory extends Object implements Directory, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDirectory.Builder
Used to aid in the construction of an ImmutableDirectory.
|
| Constructor and Description |
|---|
ImmutableDirectory(Long id,
String name,
boolean active,
String description,
String encryptionType,
DirectoryType type,
String implementationClass,
Date createdDate,
Date updatedDate,
Set<OperationType> allowedOperations,
Map<String,String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Set<OperationType> |
getAllowedOperations() |
Map<String,String> |
getAttributes() |
Date |
getCreatedDate() |
String |
getDescription() |
String |
getEncryptionType() |
Long |
getId() |
String |
getImplementationClass() |
Set<String> |
getKeys() |
String |
getName() |
DirectoryType |
getType() |
Date |
getUpdatedDate() |
String |
getValue(String key) |
Set<String> |
getValues(String key) |
boolean |
isActive() |
boolean |
isEmpty() |
static ImmutableDirectory.Builder |
newBuilder()
Create an empty Builder.
|
static ImmutableDirectory.Builder |
newBuilder(Directory directory)
Create a Builder that copies its initial values from the given directory.
|
public ImmutableDirectory(Long id, String name, boolean active, String description, String encryptionType, DirectoryType type, String implementationClass, @Nonnull Date createdDate, @Nonnull Date updatedDate, @Nullable Set<OperationType> allowedOperations, @Nullable Map<String,String> attributes)
public String getEncryptionType()
getEncryptionType in interface Directorypublic String getDescription()
getDescription in interface Directorypublic DirectoryType getType()
public String getImplementationClass()
getImplementationClass in interface Directorypublic Date getCreatedDate()
getCreatedDate in interface Directorypublic Date getUpdatedDate()
getUpdatedDate in interface Directorypublic Set<OperationType> getAllowedOperations()
getAllowedOperations in interface Directorypublic Map<String,String> getAttributes()
getAttributes in interface Directorypublic Set<String> getValues(String key)
getValues in interface Attributespublic String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic static ImmutableDirectory.Builder newBuilder()
public static ImmutableDirectory.Builder newBuilder(Directory directory)
directory - The Directory to clone.Copyright © 2018 Atlassian. All rights reserved.