hudson.plugins.collabnet
Class UC4CreatePackage

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by hudson.plugins.collabnet.UC4CreatePackage
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class UC4CreatePackage
extends hudson.tasks.Notifier

Jenkins Post-build plugin that listens for build changes and notifies UC4 ARA to create a new package when build is successful.


Nested Class Summary
static class UC4CreatePackage.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
UC4CreatePackage(java.lang.String server, java.lang.String clientId, java.lang.String user, java.lang.String department, java.lang.String password, java.lang.String packageName, java.lang.String applicationName, java.util.List<Component> components, java.lang.String owner, java.lang.String folderName, java.lang.String packageType)
           
 
Method Summary
 java.lang.String getApplicationName()
           
 java.lang.String getClientId()
           
 java.util.List<Component> getComponents()
           
 java.lang.String getDepartment()
           
 java.lang.String getFolderName()
           
 java.lang.String getOwner()
           
 java.lang.String getPackageName()
           
 java.lang.String getPackageType()
           
 java.lang.String getPassword()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 java.lang.String getServer()
           
 java.lang.String getUser()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Jenkins callback for post-build notification.
 
Methods inherited from class hudson.tasks.Notifier
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Constructor Detail

UC4CreatePackage

@DataBoundConstructor
public UC4CreatePackage(java.lang.String server,
                                             java.lang.String clientId,
                                             java.lang.String user,
                                             java.lang.String department,
                                             java.lang.String password,
                                             java.lang.String packageName,
                                             java.lang.String applicationName,
                                             java.util.List<Component> components,
                                             java.lang.String owner,
                                             java.lang.String folderName,
                                             java.lang.String packageType)
Method Detail

getServer

public java.lang.String getServer()

getClientId

public java.lang.String getClientId()

getUser

public java.lang.String getUser()

getDepartment

public java.lang.String getDepartment()

getPassword

public java.lang.String getPassword()

getPackageName

public java.lang.String getPackageName()

getApplicationName

public java.lang.String getApplicationName()

getComponents

public java.util.List<Component> getComponents()

getOwner

public java.lang.String getOwner()

getFolderName

public java.lang.String getFolderName()

getPackageType

public java.lang.String getPackageType()

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.io.IOException,
                       java.lang.InterruptedException
Jenkins callback for post-build notification.

Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2004-2013. All Rights Reserved.