public class

RundeckEvent

extends Object
implements Serializable
java.lang.Object
   ↳ org.rundeck.api.domain.RundeckEvent

Class Overview

Represents a RunDeck event

Summary

Nested Classes
enum RundeckEvent.EventStatus The status of an event  
class RundeckEvent.NodeSummary Summary for nodes  
Public Constructors
RundeckEvent()
Public Methods
boolean equals(Object obj)
String getAbortedBy()
String getDuration()
Long getDurationInMillis()
Long getDurationInSeconds()
Date getEndedAt()
Long getExecutionId()
String getJobId()
RundeckEvent.NodeSummary getNodeSummary()
String getProject()
String getShortDuration()
Date getStartedAt()
RundeckEvent.EventStatus getStatus()
String getSummary()
String getTitle()
String getUser()
int hashCode()
boolean isAdhoc()
void setAbortedBy(String abortedBy)
void setEndedAt(Date endedAt)
void setExecutionId(Long executionId)
void setJobId(String jobId)
void setNodeSummary(RundeckEvent.NodeSummary nodeSummary)
void setProject(String project)
void setStartedAt(Date startedAt)
void setStatus(RundeckEvent.EventStatus status)
void setSummary(String summary)
void setTitle(String title)
void setUser(String user)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RundeckEvent ()

Public Methods

public boolean equals (Object obj)

public String getAbortedBy ()

public String getDuration ()

Returns
  • the duration of the event, as a human-readable string : "3 minutes 34 seconds" (or null if the dates are invalid)

public Long getDurationInMillis ()

Returns
  • the duration of the event in milliseconds (or null if the dates are invalid)

public Long getDurationInSeconds ()

Returns
  • the duration of the event in seconds (or null if the dates are invalid)

public Date getEndedAt ()

public Long getExecutionId ()

Returns
  • the ID of the execution associated with this event, or null if there is not

public String getJobId ()

Returns
  • the ID of the job associated with this event, or null in the case of an ad-hoc command or script

public RundeckEvent.NodeSummary getNodeSummary ()

Returns

public String getProject ()

public String getShortDuration ()

Returns
  • the duration of the event, as a "short" human-readable string : "0:03:34.187" (or null if the dates are invalid)

public Date getStartedAt ()

public RundeckEvent.EventStatus getStatus ()

Returns

public String getSummary ()

public String getTitle ()

public String getUser ()

public int hashCode ()

public boolean isAdhoc ()

Returns
  • true if this event is for an ad-hoc command or script, false otherwise (for a job)

public void setAbortedBy (String abortedBy)

public void setEndedAt (Date endedAt)

public void setExecutionId (Long executionId)

public void setJobId (String jobId)

public void setNodeSummary (RundeckEvent.NodeSummary nodeSummary)

public void setProject (String project)

public void setStartedAt (Date startedAt)

public void setStatus (RundeckEvent.EventStatus status)

public void setSummary (String summary)

public void setTitle (String title)

public void setUser (String user)

public String toString ()