public interface PatchHistoryIterator
Modifier and Type | Interface and Description |
---|---|
static class |
PatchHistoryIterator.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if the iteration has more elements. |
String |
next()
Returns the next validated patch using the default validator
|
String |
next(PatchingValidationErrorHandler context)
Returns the next validated patch.
|
String |
peek()
Retrieve the next patch element without validating the patch nor
changing the state of the iterator.
|
boolean hasNext()
true
if the iteration has more elements.
(In other words, returns true
if next()
would
return an element rather than throwing an exception.)true
if the iteration has more elementsString peek()
String next()
NoSuchElementException
- if the iteration has no more elementsString next(PatchingValidationErrorHandler context)
context
- the validation context which should be used for this nodeNoSuchElementException
- if the iteration has no more elementsCopyright © 2023 JBoss by Red Hat. All rights reserved.