Class OpenPRProcessor
- java.lang.Object
-
- org.jboss.set.pull.processor.AbstractProcessor
-
- org.jboss.set.pull.processor.impl.process.OpenPRProcessor
-
- All Implemented Interfaces:
Processor
public class OpenPRProcessor extends AbstractProcessor
Process all PRs in OPEN state- Author:
- baranowb
-
-
Field Summary
-
Fields inherited from class org.jboss.set.pull.processor.AbstractProcessor
LOGGER, processorConfig, simpleName
-
-
Constructor Summary
Constructors Constructor Description OpenPRProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<PullRequestReference>fetchPullRequestsRaw()Processor can fetch PRs based on any criteria it sees fit and by any means.ProcessorPhasegetPhase()Returh phase for which implementation will work.-
Methods inherited from class org.jboss.set.pull.processor.AbstractProcessor
init, log, log, process
-
-
-
-
Method Detail
-
getPhase
public ProcessorPhase getPhase()
Description copied from class:AbstractProcessorReturh phase for which implementation will work. This is used to pick proper evaluators and actions- Specified by:
getPhasein interfaceProcessor- Specified by:
getPhasein classAbstractProcessor
-
fetchPullRequestsRaw
protected List<PullRequestReference> fetchPullRequestsRaw()
Description copied from class:AbstractProcessorProcessor can fetch PRs based on any criteria it sees fit and by any means.AbstractProcessor.fetchPullRequests()will call it and perform some filtering.- Specified by:
fetchPullRequestsRawin classAbstractProcessor- Returns:
-
-