public class GroupTemplateWithAttributes extends GroupTemplate implements GroupWithAttributes
| Constructor and Description |
|---|
GroupTemplateWithAttributes(GroupWithAttributes group)
Creates new GroupTemplateWithAttributes based on the given group and attributes.
|
GroupTemplateWithAttributes(String groupName,
long directoryId,
GroupType groupType) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<String>> |
getAttributes() |
Set<String> |
getKeys() |
String |
getValue(String name) |
Set<String> |
getValues(String name) |
boolean |
isEmpty() |
static GroupTemplateWithAttributes |
ofGroupWithNoAttributes(Group group)
Creates new GroupTemplateWithAttributes based on the given group with empty attributes.
|
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Set<String> values) |
void |
setAttribute(String name,
String value) |
compareTo, equals, getDescription, getDirectoryId, getName, getType, hashCode, isActive, isLocal, setActive, setDescription, setDirectoryId, setLocal, setName, setType, toString, withDirectoryIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getType, isActiveequals, getDirectoryId, getName, hashCodecompareTopublic GroupTemplateWithAttributes(String groupName, long directoryId, GroupType groupType)
public GroupTemplateWithAttributes(GroupWithAttributes group)
group - group to use as a templatepublic static GroupTemplateWithAttributes ofGroupWithNoAttributes(Group group)
group - group to use as a template@Nullable public Set<String> getValues(String name)
getValues in interface Attributes@Nullable public String getValue(String name)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic void removeAttribute(String name)
Copyright © 2018 Atlassian. All rights reserved.