Uses of Class
com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.BuildCancellationPolicy
-
-
Uses of BuildCancellationPolicy in com.sonyericsson.hudson.plugins.gerrit.trigger.config
Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.config that return BuildCancellationPolicy Modifier and Type Method Description BuildCancellationPolicy
Config. getBuildCurrentPatchesOnly()
BuildCancellationPolicy
IGerritHudsonTriggerConfig. getBuildCurrentPatchesOnly()
The object containing information regarding if old builds should be cancelled when new builds are triggered.Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.config with parameters of type BuildCancellationPolicy Modifier and Type Method Description void
Config. setBuildCurrentPatchesOnly(BuildCancellationPolicy buildCurrentPatchesOnly)
Set build cancellation policy for current patches. -
Uses of BuildCancellationPolicy in com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger
Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger that return BuildCancellationPolicy Modifier and Type Method Description BuildCancellationPolicy
GerritTrigger. getBuildCancellationPolicy()
Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger with parameters of type BuildCancellationPolicy Modifier and Type Method Description protected boolean
GerritTrigger. abortBecauseOfTopic(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, BuildCancellationPolicy policy, com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent runningChange)
Checks that execution must be aborted because of topic.void
RunningJobs. cancelTriggeredJob(com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event, String jobName, BuildCancellationPolicy policy)
Called when trigger has cancellation policy associated with it.void
GerritTrigger. setBuildCancellationPolicy(BuildCancellationPolicy buildCancellationPolicy)
The build cancellation policy regarding building current patch sets only. -
Uses of BuildCancellationPolicy in com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data
Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data that return BuildCancellationPolicy Modifier and Type Method Description static BuildCancellationPolicy
BuildCancellationPolicy. createPolicyFromJSON(net.sf.json.JSONObject obj)
Creates a new BuildCancellationPolicy object from JSON.BuildCancellationPolicy
BuildCancellationPolicy.DescriptorImpl. newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
-