public abstract class AbstractOwnershipHelper<TObjectType> extends Object implements IOwnershipHelper<TObjectType>
| Constructor and Description |
|---|
AbstractOwnershipHelper() |
| 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)
|
boolean |
isOwnerExists(TObjectType item)
Check if item has owners
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOwnershipDescription, getPossibleOwnerspublic final String getDisplayName(hudson.model.User usr)
IOwnershipHelpergetDisplayName in interface IOwnershipHelper<TObjectType>usr - Userpublic final String getOwnerEmail(TObjectType item)
IOwnershipHelpergetOwnerEmail in interface IOwnershipHelper<TObjectType>item - Item to be describespublic final String getOwnerLongString(TObjectType item)
IOwnershipHelpergetOwnerLongString in interface IOwnershipHelper<TObjectType>item - Item to be describedpublic final String getOwner(TObjectType item)
IOwnershipHelpergetOwner in interface IOwnershipHelper<TObjectType>item - Item to be describespublic final boolean isOwnerExists(TObjectType item)
IOwnershipHelperisOwnerExists in interface IOwnershipHelper<TObjectType>item - Item to be checkedCopyright © 2004-2013. All Rights Reserved.