public class ImmutableDirectoryGroup extends BaseImmutableGroup implements InternalDirectoryGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDirectoryGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableDirectoryGroup.Builder |
builder(InternalDirectoryGroup group) |
static ImmutableDirectoryGroup.Builder |
builder(String name) |
boolean |
equals(Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
static ImmutableDirectoryGroup |
from(InternalDirectoryGroup group) |
Date |
getCreatedDate()
Returns the date the entity was created.
|
Date |
getUpdatedDate()
Returns the date the entity was last updated.
|
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isLocal()
Returns true if this is a Local Group.
|
String |
toString() |
ImmutableDirectoryGroup |
withName(String name) |
compareTo, getDescription, getDirectoryId, getExternalId, getName, getType, isActiveclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getExternalId, getType, isActivegetDirectoryId, getNamecompareTopublic static ImmutableDirectoryGroup from(InternalDirectoryGroup group)
public ImmutableDirectoryGroup withName(String name)
withName in class BaseImmutableGrouppublic static ImmutableDirectoryGroup.Builder builder(InternalDirectoryGroup group)
public static ImmutableDirectoryGroup.Builder builder(String name)
public Date getCreatedDate()
TimestampedEntitygetCreatedDate in interface TimestampedEntitypublic Date getUpdatedDate()
TimestampedEntitygetUpdatedDate in interface TimestampedEntitypublic boolean isLocal()
InternalDirectoryGroupisLocal in interface InternalDirectoryGrouppublic 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 BaseImmutableGrouppublic String toString()
toString in class BaseImmutableGroupCopyright © 2024 Atlassian. All rights reserved.