public final class JobExecutionInfo extends Object
Modifier and Type | Field and Description |
---|---|
private String |
description
Rundeck job description.
|
private Long |
executionId
RunDeck execution id.
|
private boolean |
longExecution
Flag for a long execution.
|
private boolean |
newJob
Flag to mark the execution as already known.
|
private Date |
startedAt
RunDeck start job date.
|
Constructor and Description |
---|
JobExecutionInfo(Long executionIdArg,
Date startedAtArg,
String descriptionArg,
boolean longExecutionArg,
boolean newJobArg)
Constructor to copy all arguments into new JobExecutionInfo object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Return the RunDeck job description.
|
Long |
getExecutionId()
Return the RunDeck execution identifier.
|
Date |
getStartedAt()
Return the RunDeck execution starting date.
|
boolean |
isLongExecution()
Return the long execution flag.
|
boolean |
isNewJob()
Return the new execution flag.
|
private final Long executionId
private final Date startedAt
private final String description
private final boolean longExecution
private final boolean newJob
public JobExecutionInfo(Long executionIdArg, Date startedAtArg, String descriptionArg, boolean longExecutionArg, boolean newJobArg)
executionIdArg
- RunDeck identifier of the executionstartedAtArg
- starting date of the executiondescriptionArg
- description of the executionlongExecutionArg
- flag to indicate if it's a long executionnewJobArg
- flag to indicate if this execution is already knownpublic Long getExecutionId()
public Date getStartedAt()
public String getDescription()
public boolean isLongExecution()
public boolean isNewJob()
Copyright © 2013–2015. All rights reserved.