Class VMGRAPI

All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep

public class VMGRAPI extends Builder
  • Constructor Details

    • VMGRAPI

      @DataBoundConstructor public VMGRAPI(String vAPIUrl, String vAPIUser, Secret vAPIPassword, String vAPIInput, String vJsonInputFile, boolean deleteInputFile, boolean authRequired, String apiType, boolean dynamicUserId, String apiUrl, String requestMethod, boolean advConfig, int connTimeout, int readTimeout)
  • Method Details

    • getVAPIUrl

      public String getVAPIUrl()
      We'll use this from the

      config.jelly

      .
      Returns:
    • getApiUrl

      public String getApiUrl()
    • getVAPIUser

      public String getVAPIUser()
    • getVAPIInput

      public String getVAPIInput()
    • getVJsonInputFile

      public String getVJsonInputFile()
    • isAuthRequired

      public boolean isAuthRequired()
    • isDeleteInputFile

      public boolean isDeleteInputFile()
    • isDynamicUserId

      public boolean isDynamicUserId()
    • getApiType

      public String getApiType()
    • getRequestMethod

      public String getRequestMethod()
    • isAdvConfig

      public boolean isAdvConfig()
    • getConnTimeout

      public int getConnTimeout()
    • getVAPIPassword

      public Secret getVAPIPassword()
    • getReadTimeout

      public int getReadTimeout()
    • perform

      public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener)
      Specified by:
      perform in interface BuildStep
      Overrides:
      perform in class BuildStepCompatibilityLayer
    • getDescriptor

      public VMGRAPI.DescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface Describable<Builder>
      Overrides:
      getDescriptor in class Builder