public class StartedByUserRestriction extends AbstractUserCauseRestriction
Modifier and Type | Class and Description |
---|---|
static class |
StartedByUserRestriction.DescriptorImpl |
DEFAULT
Constructor and Description |
---|
StartedByUserRestriction(List<UserSelector> usersList,
boolean checkUpstreamProjects,
boolean acceptAutomaticRuns,
boolean acceptAnonymousUsers) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptsUser(String userId)
Check if the method accepts the specified user.
|
List<UserSelector> |
getUsersList() |
boolean |
isAcceptAnonymousUsers() |
boolean |
isAcceptAutomaticRuns()
Deprecated.
|
canTake, canTake, isCheckUpstreamProjects
all, allDescriptors, getDescriptor
@DataBoundConstructor public StartedByUserRestriction(List<UserSelector> usersList, boolean checkUpstreamProjects, boolean acceptAutomaticRuns, boolean acceptAnonymousUsers)
public List<UserSelector> getUsersList()
@Deprecated public boolean isAcceptAutomaticRuns()
public boolean isAcceptAnonymousUsers()
protected boolean acceptsUser(@CheckForNull String userId)
AbstractUserCauseRestriction
AbstractUserCauseRestriction
.acceptsUser
in class AbstractUserCauseRestriction
userId
- User idCopyright © 2016–2018. All rights reserved.