com.microsoftopentechnologies.windowsazurestorage
Class WAStoragePublisher.WAStorageDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.WAStorageDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
WAStoragePublisher

@Extension
public static final class WAStoragePublisher.WAStorageDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
WAStoragePublisher.WAStorageDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 hudson.util.FormValidation doCheckAccount(String was_storageAccName, String was_storageAccountKey, String was_blobEndPointURL)
          Validates storage account details.
 hudson.util.FormValidation doCheckName(String val)
          Checks for valid container name.
 hudson.util.FormValidation doCheckPath(String val)
           
 String getDefaultBlobURL()
           
 String getDisplayName()
           
 StorageAccountInfo[] getStorageAccounts()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WAStoragePublisher.WAStorageDescriptor

public WAStoragePublisher.WAStorageDescriptor()
Method Detail

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

doCheckAccount

public hudson.util.FormValidation doCheckAccount(@QueryParameter
                                                 String was_storageAccName,
                                                 @QueryParameter
                                                 String was_storageAccountKey,
                                                 @QueryParameter
                                                 String was_blobEndPointURL)
                                          throws IOException,
                                                 javax.servlet.ServletException
Validates storage account details.

Parameters:
storageAccountName -
blobEndPointURL -
storageAccountKey -
Returns:
Throws:
IOException
javax.servlet.ServletException

doCheckName

public hudson.util.FormValidation doCheckName(@QueryParameter
                                              String val)
                                       throws IOException,
                                              javax.servlet.ServletException
Checks for valid container name.

Parameters:
val - name of the container
Returns:
FormValidation result
Throws:
IOException
javax.servlet.ServletException

doCheckPath

public hudson.util.FormValidation doCheckPath(@QueryParameter
                                              String val)

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

getStorageAccounts

public StorageAccountInfo[] getStorageAccounts()

getDefaultBlobURL

public String getDefaultBlobURL()


Copyright © 2004-2014. All Rights Reserved.