public class JobOwnerHelper extends AbstractOwnershipHelper<hudson.model.Job<?,?>>
| Constructor and Description |
|---|
JobOwnerHelper() |
| Modifier and Type | Method and Description |
|---|---|
OwnershipDescription |
getOwnershipDescription(hudson.model.Job<?,?> job)
Gets ownership description of the requested item
|
Collection<hudson.model.User> |
getPossibleOwners(hudson.model.Job<?,?> item)
Get list of users, who can be item's owner
|
static boolean |
isUserExists(String userIdOrFullName) |
static boolean |
isUserExists(hudson.model.User user) |
getDisplayName, getOwner, getOwnerEmail, getOwnerLongString, isOwnerExistspublic static boolean isUserExists(hudson.model.User user)
public static boolean isUserExists(String userIdOrFullName)
public OwnershipDescription getOwnershipDescription(hudson.model.Job<?,?> job)
IOwnershipHelperjob - Item to be describedpublic Collection<hudson.model.User> getPossibleOwners(hudson.model.Job<?,?> item)
IOwnershipHelperitem - Item to be describedCopyright © 2004-2013. All Rights Reserved.