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) |
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.
|
compareTo, getDescription, getDirectoryId, getExternalId, getName, getType, isActive, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getExternalId, getType, isActive
getDirectoryId, getName
compareTo
public static ImmutableDirectoryGroup from(InternalDirectoryGroup group)
public static ImmutableDirectoryGroup.Builder builder(InternalDirectoryGroup group)
public Date getCreatedDate()
TimestampedEntity
getCreatedDate
in interface TimestampedEntity
public Date getUpdatedDate()
TimestampedEntity
getUpdatedDate
in interface TimestampedEntity
public boolean isLocal()
InternalDirectoryGroup
isLocal
in interface InternalDirectoryGroup
public boolean equals(Object o)
DirectoryEntity
equals
in interface DirectoryEntity
equals
in class BaseImmutableGroup
o
- object to compare to.true
if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntity
hashCode
in interface DirectoryEntity
hashCode
in class BaseImmutableGroup
Copyright © 2020 Atlassian. All rights reserved.