Class Overview
Represents a RunDeck execution, usually triggered by an API call. An execution could be a RundeckJob
execution or an "ad-hoc" execution.
Summary
Nested Classes |
enum |
RundeckExecution.ExecutionStatus |
The status of an execution
|
[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
RundeckExecution
()
Public Methods
public
boolean
equals
(Object obj)
public
String
getDescription
()
public
String
getDuration
()
Returns
- the duration of the execution, as a human-readable string : "3 minutes 34 seconds" (or null if the
execution is still running, or has been aborted)
public
Long
getDurationInMillis
()
Returns
- the duration of the execution in milliseconds (or null if the duration is still running, or has been
aborted)
public
Long
getDurationInSeconds
()
Returns
- the duration of the execution in seconds (or null if the execution is still running, or has been aborted)
public
Date
getEndedAt
()
Returns
- the
RundeckJob
associated with this execution, or null in the case of an ad-hoc execution
(command or script)
public
String
getShortDuration
()
Returns
- the duration of the execution, as a "short" human-readable string : "0:03:34.187" (or null if the
execution is still running, or has been aborted)
public
Date
getStartedAt
()
public
void
setAbortedBy
(String abortedBy)
public
void
setDescription
(String description)
public
void
setEndedAt
(Date endedAt)
public
void
setId
(Long id)
public
void
setStartedAt
(Date startedAt)
public
void
setStartedBy
(String startedBy)
public
void
setUrl
(String url)