package org.jenkinsci.plugins.p4.filters; import hudson.Extension; import org.jenkinsci.Symbol; import org.kohsuke.stapler.DataBoundConstructor; import java.io.Serializable; public class FilterPerChangeImpl extends Filter implements Serializable { private static final long serialVersionUID = 1L; private final boolean perChange; private int nextChange; @DataBoundConstructor public FilterPerChangeImpl(boolean perChange) { this.perChange = perChange; } public boolean isPerChange() { return perChange; } public int getNextChange() { return nextChange; } public void setNextChange(int nextChange) { this.nextChange = nextChange; } @Extension @Symbol("incremental") public static final class DescriptorImpl extends FilterDescriptor { @Override public String getDisplayName() { return "Polling per Change"; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 23685 | Paul Allen | Copy main -> dev | ||
#1 | 20641 | Paul Allen | Copy main -> dev (jenkinsci/p4-plugin) | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/filters/FilterPerChangeImpl.java | |||||
#2 | 11367 | Paul Allen |
Fixes to Remote slave polling - Missing Serializable on Filter classes - Pass a list of changes using return |
||
#1 | 10525 | Paul Allen |
Update Changelist calculation. Changed the SCM Polling and change listing reporting to calculate the last change based on the highest reported 'have' entry from 'p4 cstat' and then list using 'p4 changes'. JENKINS-24978 JENKINS-24607 |