org.wso2.carbon.appfactory.jenkins
Class AppfactoryPluginManager.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by org.wso2.carbon.appfactory.jenkins.AppfactoryPluginManager.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
AppfactoryPluginManager

@Extension
public static final class AppfactoryPluginManager.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

Descriptor for this plugin(represents server wide configs)


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
AppfactoryPluginManager.DescriptorImpl()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          This method is used to configure the values defined in global.jelly
 hudson.util.FormValidation doCheckStoragePath(String value)
          Performs on-the-fly validation of the form field 'storagePath' Check whether the given storage path is a valid directory
 String getAdminPassword()
           
 String getAdminUserName()
           
 String getAppfactoryServerURL()
           
 String getClientTrustStore()
           
 String getClientTrustStorePassword()
           
 String getDeployBpelEPR()
           
 String getDisplayName()
          This human readable name is used in the configuration screen.
 String getStoragePath()
           
 String getTempPath()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
           
 void setAdminPassword(String adminPassword)
           
 void setAdminUserName(String adminUserName)
           
 void setAppfactoryServerURL(String appfactoryServerURL)
           
 void setClientTrustStore(String clientTrustStore)
           
 void setClientTrustStorePassword(String clientTrustStorePassword)
           
 void setDeployBpelEPR(String deployBpelEPR)
           
 void setStoragePath(String storagePath)
           
 void setTempPath(String tempPath)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, 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

AppfactoryPluginManager.DescriptorImpl

public AppfactoryPluginManager.DescriptorImpl()
Method Detail

setDeployBpelEPR

public void setDeployBpelEPR(String deployBpelEPR)

setAdminUserName

public void setAdminUserName(String adminUserName)

setAdminPassword

public void setAdminPassword(String adminPassword)

doCheckStoragePath

public hudson.util.FormValidation doCheckStoragePath(@QueryParameter
                                                     String value)
                                              throws IOException,
                                                     javax.servlet.ServletException
Performs on-the-fly validation of the form field 'storagePath' Check whether the given storage path is a valid directory

Parameters:
value - value entered by the user
Returns:
Throws:
IOException
javax.servlet.ServletException

isApplicable

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

getDisplayName

public String getDisplayName()
This human readable name is used in the configuration screen.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
This method is used to configure the values defined in global.jelly

Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Parameters:
req -
formData -
Returns:
Throws:
FormException
hudson.model.Descriptor.FormException

getDeployBpelEPR

public String getDeployBpelEPR()

getAdminUserName

public String getAdminUserName()

getAdminPassword

public String getAdminPassword()

getClientTrustStore

public String getClientTrustStore()

setClientTrustStore

public void setClientTrustStore(String clientTrustStore)

getClientTrustStorePassword

public String getClientTrustStorePassword()

setClientTrustStorePassword

public void setClientTrustStorePassword(String clientTrustStorePassword)

getAppfactoryServerURL

public String getAppfactoryServerURL()

setAppfactoryServerURL

public void setAppfactoryServerURL(String appfactoryServerURL)

getStoragePath

public String getStoragePath()

setStoragePath

public void setStoragePath(String storagePath)

getTempPath

public String getTempPath()

setTempPath

public void setTempPath(String tempPath)


Copyright © 2015 WSO2 Inc. All rights reserved.