public abstract class AbstractJIRAAction
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
AbstractJIRAAction.DescriptorImpl
The descriptor-class.
|
Constructor and Description |
---|
AbstractJIRAAction(String jiraCredentialsID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
JIRAProjectCredentials |
getJiraCredentials()
Translates the credentialsID into the actual credentials object.
|
String |
getJiraCredentialsID() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
protected org.apache.commons.lang.text.StrSubstitutor |
getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener lis)
Returns a StringSubstitutor replacing variables e.g.
|
public AbstractJIRAAction(String jiraCredentialsID)
jiraCredentialsID
- the id of the jira credentials which will be usedpublic String getJiraCredentialsID()
public JIRAProjectCredentials getJiraCredentials()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
protected org.apache.commons.lang.text.StrSubstitutor getVariablesSubstitutor(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener lis)
build
- the current buildlis
- the listener of the current buildpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
getRequiredMonitorService
in class hudson.tasks.Builder
Copyright © 2004-2018. All Rights Reserved.