Class ProxmoxCloudConfigSync

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
org.jenkinsci.plugins.proxmox.config.ProxmoxCloudConfigSync
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, Loadable, OnMaster

@Extension @Symbol("proxmoxConfigSync") public class ProxmoxCloudConfigSync extends GlobalConfiguration
  • Constructor Details

    • ProxmoxCloudConfigSync

      public ProxmoxCloudConfigSync()
  • Method Details

    • get

      public static ProxmoxCloudConfigSync get()
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • performSync

      public ProxmoxSyncResult performSync()
    • doRunSync

      @POST public org.kohsuke.stapler.HttpResponse doRunSync(@QueryParameter String gitUrl, @QueryParameter String gitCredentialsId, @QueryParameter String gitBranch, @QueryParameter String yamlFilePath)
    • doFillGitCredentialsIdItems

      @POST public ListBoxModel doFillGitCredentialsIdItems()
    • doCheckCronSpec

      @POST public FormValidation doCheckCronSpec(@QueryParameter String value)
    • doCheckGitUrl

      @POST public FormValidation doCheckGitUrl(@QueryParameter String value)
    • doCheckYamlFilePath

      @POST public FormValidation doCheckYamlFilePath(@QueryParameter String value)
    • doTestGitConnection

      @POST public FormValidation doTestGitConnection(@QueryParameter String gitUrl, @QueryParameter String gitCredentialsId, @QueryParameter String gitBranch, @QueryParameter String yamlFilePath)
    • isEnabled

      public boolean isEnabled()
    • getGitUrl

      public String getGitUrl()
    • getGitCredentialsId

      public String getGitCredentialsId()
    • getGitBranch

      public String getGitBranch()
    • getYamlFilePath

      public String getYamlFilePath()
    • getCronSpec

      public String getCronSpec()
    • isAllowManualChanges

      public boolean isAllowManualChanges()
    • getLastSyncResult

      public String getLastSyncResult()
    • getLastSyncTimestamp

      public long getLastSyncTimestamp()
    • setEnabled

      @DataBoundSetter public void setEnabled(boolean v)
    • setGitUrl

      @DataBoundSetter public void setGitUrl(String v)
    • setGitCredentialsId

      @DataBoundSetter public void setGitCredentialsId(String v)
    • setGitBranch

      @DataBoundSetter public void setGitBranch(String v)
    • setYamlFilePath

      @DataBoundSetter public void setYamlFilePath(String v)
    • setCronSpec

      @DataBoundSetter public void setCronSpec(String v)
    • setAllowManualChanges

      @DataBoundSetter public void setAllowManualChanges(boolean v)