org.jenkinsci.plugins.rundeck
Class RundeckJobProjectLinkerAction
java.lang.Object
org.jenkinsci.plugins.rundeck.RundeckJobProjectLinkerAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
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.
- Author:
- Vincent Behar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RundeckJobProjectLinkerAction
public RundeckJobProjectLinkerAction(RundeckInstance rundeck,
String rundeckJobId)
throws RundeckApiException
- Load the RunDeck job details (name, description, and so on) using the RunDeck API.
- Parameters:
rundeck - instance used for talking to the RunDeck APIrundeckJobId - ID of the RunDeck job
- Throws:
RundeckApiException - in case of error while load the job details from RunDeck API
getRundeckJob
@Exported
public RundeckJob getRundeckJob()
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
Copyright © 2004-2011. All Rights Reserved.