Package io.jenkins.plugins.echarts
Klasse BuildActionIterator<T extends io.jenkins.plugins.util.BuildAction<?>>
java.lang.Object
io.jenkins.plugins.echarts.BuildActionIterator<T>
- Typparameter:
T
- type of the action that stores the result
- Alle implementierten Schnittstellen:
Iterator<edu.hm.hafner.echarts.BuildResult<T>>
public class BuildActionIterator<T extends io.jenkins.plugins.util.BuildAction<?>>
extends Object
implements Iterator<edu.hm.hafner.echarts.BuildResult<T>>
Iterates over a collection of builds that contain results of a given generic type. These results are available via a
given subtype of
BuildAction
that has to be attached to each build of the selected job. A new iterator
starts from a baseline build where it selects the attached action of the given type. Then it moves back in the build
history until no more builds are available.- Autor:
- Ullrich Hafner
-
Konstruktordetails
-
BuildActionIterator
Creates a new iterator that selects the action of the given typeactionType
.- Parameter:
actionType
- the type of the actions to selectbaseline
- the baseline to start from
-
BuildActionIterator
Creates a new iterator that selects actions of the given typeactionType
and filters them using the specifiedPredicate
.- Parameter:
actionType
- the type of the actions to selectbaseline
- the baseline to start fromfilter
- a predicate to filter the build actions of a build so that the selected action is unique
-
-
Methodendetails