com.slide.hudson.plugins
Class CIFSPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
com.slide.hudson.plugins.CIFSPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class CIFSPublisher
- extends hudson.tasks.Notifier
This class implements the CIFS publisher process by using the CIFSShare.
- Author:
- Alex Earl, Christian Knuechel
| 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 |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
CIFSPublisher()
|
CIFSPublisher(java.lang.String shareUrl)
The constructor which take a configured CIFS share name to publishing the
artifacts. |
| 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 |
DESCRIPTOR
@Extension
public static final CIFSPublisher.DescriptorImpl DESCRIPTOR
- Hold an instance of the Descriptor implementation of this publisher.
CIFSPublisher
public CIFSPublisher()
CIFSPublisher
public CIFSPublisher(java.lang.String shareUrl)
- The constructor which take a configured CIFS share name to publishing the
artifacts.
- Parameters:
shareUrl - the name of the CIFS share configuration to use
setWinsServer
public void setWinsServer(java.lang.String winsServer)
getEntries
public java.util.List<Entry> getEntries()
- The getter for the entries field. (this field is set by the UI part of
this plugin see config.jelly file)
- Returns:
- the value of the entries field
getShare
public CIFSShare getShare()
- This method returns the configured CIFSShare object which match the
siteName of the CIFSPublisher instance. (see Manage Hudson and System
Configuration point CIFS)
- Returns:
- the matching CIFSShare or null
getShareDisplayUrl
public java.lang.String getShareDisplayUrl()
setShareUrl
public void setShareUrl(java.lang.String shareUrl)
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
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.tasks.BuildStepCompatibilityLayer
- Parameters:
build - launcher - listener -
- Returns:
- true on success, false otherwise
- Throws:
java.lang.InterruptedException
java.io.IOException- See Also:
hudson.tasks.BuildStep#perform(hudson.model.Build, hudson.Launcher,
hudson.model.BuildListener)
Copyright © 2011. All Rights Reserved.