Class Overview
Represents a RunDeck event
Summary
Nested Classes |
enum |
RundeckEvent.EventStatus |
The status of an event
|
class |
RundeckEvent.NodeSummary |
Summary for nodes
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Public Constructors
Public Methods
public
boolean
equals
(Object obj)
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
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
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
setProject
(String project)
public
void
setStartedAt
(Date startedAt)
public
void
setSummary
(String summary)
public
void
setTitle
(String title)
public
void
setUser
(String user)