com.thalesgroup.hudson.plugins.jobrevision
Class JobRevision
java.lang.Object
hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
com.thalesgroup.hudson.plugins.jobrevision.JobRevision
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep
@ExportedBean
public class JobRevision
- extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.JobProperty |
owner |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
JobRevision(java.lang.String revision)
|
| Methods inherited from class hudson.model.JobProperty |
getJobAction, getJobActions, getProjectAction, getProjectActions, getRequiredMonitorService, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension
public static final JobRevision.DescriptorImpl DESCRIPTOR
JobRevision
public JobRevision(java.lang.String revision)
getDescriptor
public JobRevision.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>- Overrides:
getDescriptor in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
prebuild
public boolean prebuild(hudson.model.AbstractBuild<?,?> abstractBuild,
hudson.model.BuildListener buildListener)
- Specified by:
prebuild in interface hudson.tasks.BuildStep- Overrides:
prebuild in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
- Throws:
java.lang.InterruptedException
java.io.IOException
getRevision
@Exported
public java.lang.String getRevision()
Copyright © 2010. All Rights Reserved.