public final class ImmutableDirectoryGroupWithAttributes extends BaseImmutableGroup implements GroupWithAttributes, InternalDirectoryGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDirectoryGroupWithAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDirectoryGroupWithAttributes.Builder |
builder(InternalDirectoryGroup group,
com.google.common.collect.SetMultimap<String,String> attributes) |
boolean |
equals(Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
Date |
getCreatedDate()
Returns the date the entity was created.
|
Set<String> |
getKeys() |
Date |
getUpdatedDate()
Returns the date the entity was last updated.
|
String |
getValue(String key) |
Set<String> |
getValues(String key) |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isEmpty() |
boolean |
isLocal()
Returns true if this is a Local Group.
|
ImmutableDirectoryGroupWithAttributes |
withName(String name) |
compareTo, getDescription, getDirectoryId, getExternalId, getName, getType, isActive, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getExternalId, getType, isActivegetDirectoryId, getNamecompareTopublic static ImmutableDirectoryGroupWithAttributes.Builder builder(InternalDirectoryGroup group, com.google.common.collect.SetMultimap<String,String> attributes)
@Nonnull public Set<String> getValues(String key)
getValues in interface Attributes@Nullable public String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic Date getCreatedDate()
TimestampedEntitygetCreatedDate in interface TimestampedEntitypublic Date getUpdatedDate()
TimestampedEntitygetUpdatedDate in interface TimestampedEntitypublic boolean isLocal()
InternalDirectoryGroupisLocal in interface InternalDirectoryGrouppublic ImmutableDirectoryGroupWithAttributes withName(String name)
withName in class BaseImmutableGrouppublic boolean equals(Object o)
DirectoryEntityequals in interface DirectoryEntityequals in class BaseImmutableGroupo - object to compare to.true if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntityhashCode in interface DirectoryEntityhashCode in class BaseImmutableGroupCopyright © 2023 Atlassian. All rights reserved.