matrixtieparent
Class BuildWrapperMtp

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by matrixtieparent.BuildWrapperMtp
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class BuildWrapperMtp
extends hudson.tasks.BuildWrapper

BuildWrapper that manages the label that ties a parent build to a computer. The assignment of the label is done in the override for Queue.QueueDecisionHandler.

Author:
Ken Bertelson

Nested Class Summary
static class BuildWrapperMtp.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static BuildWrapperMtp.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
BuildWrapperMtp(java.lang.String labelName)
           
 
Method Summary
 hudson.model.Descriptor<hudson.tasks.BuildWrapper> getDescriptor()
           
 java.lang.String getLabelName()
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final BuildWrapperMtp.DescriptorImpl DESCRIPTOR
Constructor Detail

BuildWrapperMtp

@DataBoundConstructor
public BuildWrapperMtp(java.lang.String labelName)
Method Detail

getLabelName

public java.lang.String getLabelName()

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws java.io.IOException,
                                                   java.lang.InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
java.io.IOException
java.lang.InterruptedException

getDescriptor

public hudson.model.Descriptor<hudson.tasks.BuildWrapper> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>


Copyright © 2010. All Rights Reserved.