com.microsoftopentechnologies.windowsazurestorage
Class WAStoragePublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class WAStoragePublisher
extends hudson.tasks.Recorder


Nested Class Summary
static class WAStoragePublisher.WAStorageDescriptor
           
 
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
WAStoragePublisher(String storageAccName, String filesPath, String containerName, boolean cntPubAccess, String virtualPath)
           
 
Method Summary
 String getContainerName()
           
 WAStoragePublisher.WAStorageDescriptor getDescriptor()
           
 String getFilesPath()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getStorageAccName()
           
 StorageAccountInfo getStorageAccount()
          Returns storage account object based on the name selected in job configuration
 String getVirtualPath()
           
 boolean isCntPubAccess()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setCntPubAccess(boolean cntPubAccess)
           
 void setContainerName(String containerName)
           
 void setFilesPath(String filesPath)
           
 void setStorageAccName(String storageAccName)
           
 void setVirtualPath(String virtualPath)
           
 
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

WAStoragePublisher

@DataBoundConstructor
public WAStoragePublisher(String storageAccName,
                                               String filesPath,
                                               String containerName,
                                               boolean cntPubAccess,
                                               String virtualPath)
Method Detail

getFilesPath

public String getFilesPath()

getContainerName

public String getContainerName()

isCntPubAccess

public boolean isCntPubAccess()

getStorageAccName

public String getStorageAccName()

setStorageAccName

public void setStorageAccName(String storageAccName)

setContainerName

public void setContainerName(String containerName)

setCntPubAccess

public void setCntPubAccess(boolean cntPubAccess)

setFilesPath

public void setFilesPath(String filesPath)

getVirtualPath

public String getVirtualPath()

setVirtualPath

public void setVirtualPath(String virtualPath)

getDescriptor

public WAStoragePublisher.WAStorageDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder

getStorageAccount

public StorageAccountInfo getStorageAccount()
Returns storage account object based on the name selected in job configuration

Returns:
StorageAccount

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()


Copyright © 2004-2014. All Rights Reserved.