Package | Description |
---|---|
hudson | |
hudson.console |
Beef up the plain text console output by adding HTML markup.
|
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.scm |
Hudson's interface with source code management systems.
|
hudson.search |
QuickSilver-like
search/jump capability for better navigation around the website.
|
hudson.security |
Security-related code.
|
hudson.slaves |
Code related to slaves.
|
hudson.tasks | |
jenkins.model | |
jenkins.security |
Modifier and Type | Method and Description |
---|---|
static String |
Functions.getAvatar(User user,
String avatarSize)
Returns an avatar image URL for the specified user and preferred image size
|
String |
Functions.getUserAvatar(User user,
String avatarSize)
Deprecated.
as of 1.451
Use
Functions.getAvatar(hudson.model.User, java.lang.String) |
Modifier and Type | Method and Description |
---|---|
static String |
ModelHyperlinkNote.encodeTo(User u) |
static String |
ModelHyperlinkNote.encodeTo(User u,
String text) |
Modifier and Type | Field and Description |
---|---|
protected User |
UserProperty.user
The user object that owns this property.
|
Modifier and Type | Method and Description |
---|---|
static User |
User.current()
Gets the
User object representing the currently logged-in user, or null
if the current user is anonymous. |
static User |
User.get(org.acegisecurity.Authentication a)
Gets the
User object representing the supplied Authentication or
null if the supplied Authentication is either anonymous or null |
static User |
User.get(String idOrFullName)
Gets the
User object by its id or full name. |
static User |
User.get(String idOrFullName,
boolean create)
Deprecated.
|
static User |
User.get(String idOrFullName,
boolean create,
Map context)
Gets the
User object by its id or full name. |
static User |
User.getById(String id,
boolean create)
Gets the
User object by its id |
static User |
User.getUnknown()
Gets the fallback "unknown" user instance.
|
User |
MyViewsProperty.getUser() |
User |
View.UserInfo.getUser() |
Modifier and Type | Method and Description |
---|---|
static Collection<User> |
User.getAll()
Gets all the users.
|
Set<User> |
AbstractBuild.getCulprits()
List of users who committed a change since the last non-broken build till now.
|
Modifier and Type | Method and Description |
---|---|
int |
User.compareTo(User that) |
Collection<? extends Action> |
TransientUserActionFactory.createFor(User target)
Creates actions for the given user.
|
boolean |
AbstractBuild.hasParticipant(User user)
Returns true if this user has made a commit to this build.
|
boolean |
AbstractProject.hasParticipant(User user)
Returns true if this user has made a commit to this project.
|
UserProperty |
MyViewsProperty.DescriptorImpl.newInstance(User user) |
abstract UserProperty |
UserPropertyDescriptor.newInstance(User user)
Creates a default instance of
UserProperty to be associated
with User object that wasn't created from a persisted XML data. |
UserProperty |
PaneStatusProperties.DescriptorImpl.newInstance(User user) |
Modifier and Type | Method and Description |
---|---|
abstract User |
ChangeLogSet.Entry.getAuthor()
The user who made this change.
|
Modifier and Type | Method and Description |
---|---|
UserProperty |
UserSearchProperty.DescriptorImpl.newInstance(User user) |
Modifier and Type | Method and Description |
---|---|
User |
HudsonPrivateSecurityRealm.createAccount(String userName,
String password)
Creates a new user account by registering a password to the user.
|
User |
HudsonPrivateSecurityRealm.doCreateAccount(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates an user account.
|
User |
HudsonPrivateSecurityRealm.doCreateAccountWithFederatedIdentity(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Creates an account and associates that with the given identity.
|
User |
HudsonPrivateSecurityRealm.getUser(String id)
This is to map users under the security realm URL.
|
User |
FederatedLoginService.FederatedIdentity.locateUser()
Locates the user who owns this identifier.
|
User |
FederatedLoginService.FederatedIdentity.signin()
Call this method to authenticate the user when you confirmed (via your protocol specific work) that
the current HTTP request indeed owns this identifier.
|
Modifier and Type | Method and Description |
---|---|
List<User> |
HudsonPrivateSecurityRealm.getAllUsers()
All users who can login to the system.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
PermissionAdder.add(AuthorizationStrategy strategy,
User user,
Permission perm)
Called to try to give a user global permission.
|
void |
FederatedLoginService.FederatedIdentity.addTo(User u)
Adds this identity to the specified user.
|
ACL |
AuthorizationStrategy.getACL(User user)
Implementation can choose to provide different ACL per user.
|
UserProperty |
HudsonPrivateSecurityRealm.Details.DescriptorImpl.newInstance(User user) |
Modifier and Type | Method and Description |
---|---|
User |
OfflineCause.UserCause.getUser() |
Constructor and Description |
---|
UserCause(User user,
String message) |
Modifier and Type | Method and Description |
---|---|
abstract String |
UserAvatarResolver.findAvatarFor(User u,
int width,
int height)
Finds an avatar image URL string for a user.
|
abstract String |
UserNameResolver.findNameFor(User u)
Finds full name of the given user.
|
static String |
UserNameResolver.resolve(User u) |
static String |
UserAvatarResolver.resolve(User u,
String avatarSize)
Resolve an avatar image URL string for the user.
|
static String |
UserAvatarResolver.resolveOrNull(User u,
String avatarSize)
Like
UserAvatarResolver.resolve(hudson.model.User, java.lang.String) but returns null rather than a fallback URL in case there is no special avatar. |
Modifier and Type | Method and Description |
---|---|
User |
Jenkins.getMe()
Exposes the current user to /me URL.
|
User |
CauseOfInterruption.UserInterruption.getUser() |
User |
Jenkins.getUser(String name)
Gets the user of the given name.
|
Constructor and Description |
---|
UserInterruption(User user) |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
ApiTokenProperty.DescriptorImpl.doChangeToken(User u,
org.kohsuke.stapler.StaplerResponse rsp) |
ApiTokenProperty |
ApiTokenProperty.DescriptorImpl.newInstance(User user)
When we are creating a default
ApiTokenProperty for User,
we need to make sure it yields the same value for the same user,
because there's no guarantee that the property is saved. |
UserProperty |
LastGrantedAuthoritiesProperty.DescriptorImpl.newInstance(User user) |
Copyright © 2018. All rights reserved.