org.jenkinsci.plugins.rundeck
Class RundeckCause

java.lang.Object
  extended by hudson.model.Cause
      extended by org.jenkinsci.plugins.rundeck.RundeckCause

public class RundeckCause
extends hudson.model.Cause

The cause of a RunDeck initiated build (encapsulates the RundeckExecution at the origin of the RunDeck notification).

Author:
Vincent Behar

Nested Class Summary
static class RundeckCause.RundeckExecutionEnvironmentContributingAction
          EnvironmentContributingAction used to make information about the RundeckExecution available to the build (as environment variables)
 
Nested classes/interfaces inherited from class hudson.model.Cause
hudson.model.Cause.LegacyCodeCause, hudson.model.Cause.RemoteCause, hudson.model.Cause.UpstreamCause, hudson.model.Cause.UserCause
 
Constructor Summary
RundeckCause(org.rundeck.api.domain.RundeckExecution execution)
          Instantiate a new cause for the given execution
 
Method Summary
 boolean equals(Object obj)
           
 String getShortDescription()
           
 int hashCode()
           
 void onAddedTo(hudson.model.AbstractBuild build)
           
 String toString()
           
 
Methods inherited from class hudson.model.Cause
print
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RundeckCause

public RundeckCause(org.rundeck.api.domain.RundeckExecution execution)
Instantiate a new cause for the given execution

Parameters:
execution - at the origin of the RunDeck notification
Method Detail

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in class hudson.model.Cause

onAddedTo

public void onAddedTo(hudson.model.AbstractBuild build)
Overrides:
onAddedTo in class hudson.model.Cause

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2012. All Rights Reserved.