TObjectType - Type of object, for which ownership should be resolvedpublic interface IOwnershipHelper<TObjectType>
IOwnershipItem| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(hudson.model.User usr)
Gets User's name for visualization
|
String |
getOwner(TObjectType item)
Get ownerId of the item
|
String |
getOwnerEmail(TObjectType item)
Get e-mail of the owner
|
String |
getOwnerLongString(TObjectType item)
Get Display string of the owner (and coowners)
|
OwnershipDescription |
getOwnershipDescription(TObjectType item)
Gets ownership description of the requested item
|
Collection<hudson.model.User> |
getPossibleOwners(TObjectType item)
Get list of users, who can be item's owner
|
boolean |
isOwnerExists(TObjectType item)
Check if item has owners
|
String getOwner(TObjectType item)
item - Item to be describesString getOwnerEmail(TObjectType item)
item - Item to be describesboolean isOwnerExists(TObjectType item)
item - Item to be checkedString getOwnerLongString(TObjectType item)
item - Item to be describedOwnershipDescription getOwnershipDescription(TObjectType item)
item - Item to be describedCollection<hudson.model.User> getPossibleOwners(TObjectType item)
item - Item to be describedString getDisplayName(hudson.model.User usr)
usr - UserCopyright © 2004-2013. All Rights Reserved.