Modifier and Type | Class and Description |
---|---|
protected class |
RunDeckLogTail.RunDeckLogTailIterator |
Constructor and Description |
---|
RunDeckLogTail(RundeckManager rundeckClient,
Long executionId)
Standard constructor that contains sensible defaults for handling the API calls correctly.
|
RunDeckLogTail(RundeckManager rundeckClient,
Long executionId,
int maxlines,
int maxRetries,
long sleepRetry,
long sleepUnmodified,
long sleepModified)
Extended constructor containing all the variables that can be set.
|
Modifier and Type | Method and Description |
---|---|
RunDeckLogTail.RunDeckLogTailIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RunDeckLogTail(RundeckManager rundeckClient, Long executionId)
rundeckClient
- Rundeck ClientexecutionId
- Execution IDpublic RunDeckLogTail(RundeckManager rundeckClient, Long executionId, int maxlines, int maxRetries, long sleepRetry, long sleepUnmodified, long sleepModified)
rundeckClient
- the runDeckClientexecutionId
- the id of the RunDeck jobmaxlines
- the maximum number of lines to fetch on each API callmaxRetries
- the maximum number of retry attempts if the api call failssleepRetry
- sleep time in ms that will be triggered if a api call failssleepUnmodified
- sleep time in ms when the results are unmodifiedsleepModified
- sleep time in ms when the results are modifiedpublic RunDeckLogTail.RunDeckLogTailIterator iterator()
Copyright © 2016–2022. All rights reserved.