@Expander(value=GroupEntityExpander.class) public class GroupEntity extends Object implements NamedEntity
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_ATTRIBUTES_FIELD_NAME
Name of the attributes field.
|
Constructor and Description |
---|
GroupEntity(String name,
String description,
GroupType type,
Boolean active,
com.atlassian.plugins.rest.common.Link link) |
Modifier and Type | Method and Description |
---|---|
MultiValuedAttributeEntityList |
getAttributes() |
String |
getDescription() |
com.atlassian.plugins.rest.common.Link |
getLink() |
String |
getName() |
GroupType |
getType() |
Boolean |
isActive() |
boolean |
isExpanded()
Does this object represent an expanded group, or does it only contain a group name.
|
static GroupEntity |
newMinimalGroupEntity(String name,
String applicationName,
URI baseURI)
Creates a GroupEntity with the minimal amount of information required.
|
void |
setAttributes(MultiValuedAttributeEntityList attributes) |
String |
toString() |
public static final String GROUP_ATTRIBUTES_FIELD_NAME
public String getDescription()
public GroupType getType()
public Boolean isActive()
public String getName()
getName
in interface NamedEntity
public void setAttributes(MultiValuedAttributeEntityList attributes)
public MultiValuedAttributeEntityList getAttributes()
public static GroupEntity newMinimalGroupEntity(String name, String applicationName, URI baseURI)
name
- group name.baseURI
- base URIpublic boolean isExpanded()
public com.atlassian.plugins.rest.common.Link getLink()
Copyright © 2021 Atlassian. All rights reserved.