Class DeletedUserGroup
- java.lang.Object
-
- jetbrains.buildServer.groups.impl.DeletedUserGroup
-
- All Implemented Interfaces:
UserGroup,Loggable,PropertyHolder
public class DeletedUserGroup extends Object implements UserGroup
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsUserDirectly(User user)Stringdescribe(boolean verbose)List<UserGroup>getAllSubgroups()Returns the set of all subgroups included into this group, directly or through intermediate ones.List<User>getAllUsers()Returns the set of all users included into this group, directly or through subgroups.booleangetBooleanProperty(PropertyKey propertyKey)Returns value of the boolean propertyStringgetDescription()Returns a description of this group.List<UserGroup>getDirectSubgroups()Returns the collection of subgroups that are directly included into this group.List<User>getDirectUsers()Returns the collection of users included into this group.StringgetKey()Returns a group key.StringgetName()Returns a displayable name of this group.List<UserGroup>getParentGroups()Returns the list of direct parent groups, i.e.Map<PropertyKey,String>getProperties()Returns map of the propertiesStringgetPropertyValue(PropertyKey propertyKey)Returns value of the property with specified key
-
-
-
Method Detail
-
getKey
@NotNull public String getKey()
Description copied from interface:UserGroupReturns a group key. The key is fixed, unique among all groups.
-
getName
@NotNull public String getName()
Description copied from interface:UserGroupReturns a displayable name of this group. The name is unique among all groups, but in contrast with group key is modifiable.
-
getDescription
@NotNull public String getDescription()
Description copied from interface:UserGroupReturns a description of this group.- Specified by:
getDescriptionin interfaceUserGroup- Returns:
- group description
-
getDirectSubgroups
@NotNull public List<UserGroup> getDirectSubgroups()
Description copied from interface:UserGroupReturns the collection of subgroups that are directly included into this group.- Specified by:
getDirectSubgroupsin interfaceUserGroup- Returns:
- list of direct subgroups
- See Also:
UserGroup.getAllSubgroups(),UserGroup.getParentGroups()
-
getAllSubgroups
@NotNull public List<UserGroup> getAllSubgroups()
Description copied from interface:UserGroupReturns the set of all subgroups included into this group, directly or through intermediate ones.- Specified by:
getAllSubgroupsin interfaceUserGroup- Returns:
- list of all subgroups
- See Also:
UserGroup.getDirectSubgroups()
-
getParentGroups
@NotNull public List<UserGroup> getParentGroups()
Description copied from interface:UserGroupReturns the list of direct parent groups, i.e. groups that contain this groups as a subgroup.- Specified by:
getParentGroupsin interfaceUserGroup- Returns:
- list of direct parents
- See Also:
UserGroup.getDirectSubgroups()
-
getDirectUsers
@NotNull public List<User> getDirectUsers()
Description copied from interface:UserGroupReturns the collection of users included into this group. This method ignores the subgroups.- Specified by:
getDirectUsersin interfaceUserGroup- Returns:
- list of users
- See Also:
UserGroup.getAllUsers()
-
getAllUsers
@NotNull public List<User> getAllUsers()
Description copied from interface:UserGroupReturns the set of all users included into this group, directly or through subgroups.- Specified by:
getAllUsersin interfaceUserGroup- Returns:
- list of all users
- See Also:
UserGroup.getDirectUsers()
-
containsUserDirectly
public boolean containsUserDirectly(@NotNull User user)- Specified by:
containsUserDirectlyin interfaceUserGroup- Parameters:
user- user to check- Returns:
- true if this group contains user directly (user is returned by getDirectUsers)
-
describe
@NotNull public String describe(boolean verbose)
-
getPropertyValue
@Nullable public String getPropertyValue(PropertyKey propertyKey)
Description copied from interface:PropertyHolderReturns value of the property with specified key- Specified by:
getPropertyValuein interfacePropertyHolder- Parameters:
propertyKey- value of the property with specified key- Returns:
- value of the property with specified key
-
getBooleanProperty
public boolean getBooleanProperty(PropertyKey propertyKey)
Description copied from interface:PropertyHolderReturns value of the boolean property- Specified by:
getBooleanPropertyin interfacePropertyHolder- Parameters:
propertyKey- property key- Returns:
- value
-
getProperties
@NotNull public Map<PropertyKey,String> getProperties()
Description copied from interface:PropertyHolderReturns map of the properties- Specified by:
getPropertiesin interfacePropertyHolder- Returns:
- map of the properties
-
-