com.redfin.hudson
Class UrlChangeTrigger
java.lang.Object
hudson.triggers.Trigger<hudson.model.BuildableItem>
com.redfin.hudson.UrlChangeTrigger
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>
public class UrlChangeTrigger
- extends hudson.triggers.Trigger<hudson.model.BuildableItem>
Triggers a build when the data at a particular URL has changed.
| Nested classes/interfaces inherited from class hudson.triggers.Trigger |
hudson.triggers.Trigger.Cron |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.triggers.Trigger |
job, spec, tabs, timer |
|
Method Summary |
java.net.URL |
getUrl()
|
void |
run()
|
void |
start(hudson.model.BuildableItem project,
boolean newInstance)
|
| Methods inherited from class hudson.triggers.Trigger |
all, checkTriggers, for_, getDescriptor, getProjectAction, getProjectActions, getSpec, init, readResolve, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlChangeTrigger
public UrlChangeTrigger(java.lang.String url)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
UrlChangeTrigger
public UrlChangeTrigger(java.net.URL url)
start
public void start(hudson.model.BuildableItem project,
boolean newInstance)
- Overrides:
start in class hudson.triggers.Trigger<hudson.model.BuildableItem>
run
public void run()
- Overrides:
run in class hudson.triggers.Trigger<hudson.model.BuildableItem>
getUrl
public java.net.URL getUrl()
Copyright © 2011. All Rights Reserved.