public class RundeckJobProjectLinkerAction extends Object implements hudson.model.Action
Action used to display a Rundeck icon with a link to the Rundeck job page, and some information about the
Rundeck job, on the Jenkins job page.| Constructor and Description |
|---|
RundeckJobProjectLinkerAction(String rundeckInstanceName,
org.rundeck.api.RundeckClient rundeck,
String rundeckJobId)
Load the Rundeck job details (name, description, and so on) using the Rundeck API.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getIconFileName() |
String |
getInstanceName() |
org.rundeck.api.domain.RundeckJob |
getRundeckJob() |
String |
getUrlName() |
public RundeckJobProjectLinkerAction(String rundeckInstanceName, org.rundeck.api.RundeckClient rundeck, String rundeckJobId) throws org.rundeck.api.RundeckApiException, IllegalArgumentException
rundeckInstanceName - Rundeck instance namerundeck - client used for talking to the Rundeck APIrundeckJobId - ID of the Rundeck joborg.rundeck.api.RundeckApiException - in case of error while loading the job details from Rundeck APIIllegalArgumentException - if rundeck or rundeckJobId is null@Exported public org.rundeck.api.domain.RundeckJob getRundeckJob()
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic String getInstanceName()
Copyright © 2016–2019. All rights reserved.