public class GhprbTrigger extends GhprbTriggerBackwardsCompatible
Modifier and Type | Class and Description |
---|---|
static class |
GhprbTrigger.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static GhprbTrigger.DescriptorImpl |
DESCRIPTOR |
_project, commentFilePath, commitStatusContext, configVersion, gitHubApiAuth, latestVersion, msgFailure, msgSuccess, project, pullRequests
Constructor and Description |
---|
GhprbTrigger(String adminlist,
String whitelist,
String orgslist,
String cron,
String triggerPhrase,
Boolean onlyTriggerPhrase,
Boolean useGitHubHooks,
Boolean permitAll,
Boolean autoCloseFailedPullRequests,
Boolean displayBuildErrorsOnDownstreamBuilds,
String commentFilePath,
String skipBuildPhrase,
String blackListCommitAuthor,
List<GhprbBranch> whiteListTargetBranches,
List<GhprbBranch> blackListTargetBranches,
Boolean allowMembersOfWhitelistedOrgsAsAdmin,
String msgSuccess,
String msgFailure,
String commitStatusContext,
String gitHubAuthId,
String buildDescTemplate,
String blackListLabels,
String whiteListLabels,
List<GhprbExtension> extensions,
String includedRegions,
String excludedRegions) |
addIfMissing, convertPropertiesToExtensions
@Extension public static final GhprbTrigger.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public GhprbTrigger(String adminlist, String whitelist, String orgslist, String cron, String triggerPhrase, Boolean onlyTriggerPhrase, Boolean useGitHubHooks, Boolean permitAll, Boolean autoCloseFailedPullRequests, Boolean displayBuildErrorsOnDownstreamBuilds, String commentFilePath, String skipBuildPhrase, String blackListCommitAuthor, List<GhprbBranch> whiteListTargetBranches, List<GhprbBranch> blackListTargetBranches, Boolean allowMembersOfWhitelistedOrgsAsAdmin, String msgSuccess, String msgFailure, String commitStatusContext, String gitHubAuthId, String buildDescTemplate, String blackListLabels, String whiteListLabels, List<GhprbExtension> extensions, String includedRegions, String excludedRegions) throws antlr.ANTLRException
antlr.ANTLRException
public hudson.util.DescribableList<GhprbExtension,GhprbExtensionDescriptor> getExtensions()
getExtensions
in class GhprbTriggerBackwardsCompatible
public Object readResolve()
readResolve
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public static GhprbTrigger.DescriptorImpl getDscp()
public void start(hudson.model.Job<?,?> project, boolean newInstance)
start
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public void stop()
stop
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public void run()
run
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public hudson.model.queue.QueueTaskFuture<?> scheduleBuild(GhprbCause cause, GhprbRepository repo)
public String getGitHubAuthId()
public GhprbGitHubAuth getGitHubApiAuth()
public org.kohsuke.github.GitHub getGitHub() throws IOException
IOException
public hudson.model.Job<?,?> getActualProject()
public void addWhitelist(String author)
public String getBuildDescTemplate()
public String getAdminlist()
public Boolean getAllowMembersOfWhitelistedOrgsAsAdmin()
public String getWhitelist()
public String getOrgslist()
public String getCron()
public String getTriggerPhrase()
public String getSkipBuildPhrase()
public String getBlackListCommitAuthor()
public String getBlackListLabels()
public String getWhiteListLabels()
public Boolean getOnlyTriggerPhrase()
public Boolean getUseGitHubHooks()
public Ghprb getHelper()
public Boolean getPermitAll()
public Boolean getAutoCloseFailedPullRequests()
public Boolean getDisplayBuildErrorsOnDownstreamBuilds()
public List<GhprbBranch> getWhiteListTargetBranches()
public List<GhprbBranch> getBlackListTargetBranches()
public String getIncludedRegions()
public String getExcludedRegions()
public GhprbTrigger.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.triggers.Trigger<?>>
getDescriptor
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public GhprbBuilds getBuilds()
public GhprbGitHub getGhprbGitHub()
public boolean isActive()
public GhprbRepository getRepository()
public String getProjectName()
public void handleComment(org.kohsuke.github.GHEventPayload.IssueComment issueComment) throws IOException
IOException
public void handlePR(org.kohsuke.github.GHEventPayload.PullRequest pr) throws IOException
IOException
Copyright © 2016–2017. All rights reserved.