Class PropeloPluginImpl

java.lang.Object
hudson.Plugin
io.jenkins.plugins.propelo.job_reporter.plugins.PropeloPluginImpl
All Implemented Interfaces:
Saveable, org.kohsuke.stapler.StaplerProxy

@Extension public class PropeloPluginImpl extends Plugin
  • Field Details

  • Constructor Details

    • PropeloPluginImpl

      public PropeloPluginImpl()
  • Method Details

    • getMigrated

      public Boolean getMigrated()
    • setMigrated

      public void setMigrated(Boolean migrated)
    • start

      public void start() throws Exception
      Overrides:
      start in class Plugin
      Throws:
      Exception
    • getInstance

      public static PropeloPluginImpl getInstance()
    • getHudsonHome

      public File getHudsonHome()
    • getJenkinsBaseUrl

      public String getJenkinsBaseUrl()
    • getLevelOpsApiKey

      public Secret getLevelOpsApiKey()
    • getApplicationType

      public ApplicationType getApplicationType()
    • getLevelOpsPluginPath

      public String getLevelOpsPluginPath()
      Get the Propelo plugin path as entered by the user. May contain environment variables. If you need a path that can be used as is (env. vars expanded), please use @link{getExpandedLevelOpsPluginPath}.
      Returns:
      the path as entered by the user.
    • getExpandedLevelOpsPluginPath

      public String getExpandedLevelOpsPluginPath()
      Returns:
      the levelOpsPluginPath path with possibly contained environment variables expanded.
    • getJenkinsStatus

      public String getJenkinsStatus()
    • getConfigUpdatedAt

      public long getConfigUpdatedAt()
    • getHeartbeatDuration

      public long getHeartbeatDuration()
    • getExpandedLevelOpsPluginDir

      public File getExpandedLevelOpsPluginDir()
    • isRegistered

      public Boolean isRegistered()
    • isExpandedLevelOpsPluginPathNullOrEmpty

      public boolean isExpandedLevelOpsPluginPathNullOrEmpty()
    • getReportsDirectory

      public File getReportsDirectory()
    • getPluginVersionString

      public String getPluginVersionString()
    • getDataDirectory

      public File getDataDirectory()
    • getDataDirectoryWithVersion

      public File getDataDirectoryWithVersion()
    • getDataDirectoryWithRotation

      public File getDataDirectoryWithRotation()
    • getJenkinsUserName

      public String getJenkinsUserName()
    • getJenkinsUserToken

      public Secret getJenkinsUserToken()
    • getBullseyeXmlResultPaths

      public String getBullseyeXmlResultPaths()
    • isTrustAllCertificates

      public boolean isTrustAllCertificates()
    • getProductIds

      public String getProductIds()
    • getProductIdsList

      public List<String> getProductIdsList()
    • getJenkinsInstanceName

      public String getJenkinsInstanceName()
    • doCheckLevelOpsApiKey

      @POST public FormValidation doCheckLevelOpsApiKey(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") Secret levelOpsApiKey)
    • doCheckLevelOpsStatus

      public FormValidation doCheckLevelOpsStatus(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String levelOpsStatus)
    • doCheckMonitoringSchedule

      public FormValidation doCheckMonitoringSchedule(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String schedule)
    • performBlueOceanRestValidation

      @POST public FormValidation performBlueOceanRestValidation(String jenkinsBaseUrl, String jenkinsUserName, String jenkinsUserToken, boolean baseUrlValidation, boolean userNameValidation, boolean userTokenValidation)
    • doCheckJenkinsBaseUrl

      @POST public FormValidation doCheckJenkinsBaseUrl(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsBaseUrl)
    • doCheckJenkinsUserName

      @POST public FormValidation doCheckJenkinsUserName(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsUserName)
    • doCheckJenkinsUserToken

      @POST public FormValidation doCheckJenkinsUserToken(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") Secret jenkinsUserToken)
    • doCheckJenkinsInstanceName

      public FormValidation doCheckJenkinsInstanceName(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String jenkinsInstanceName)
    • doCheckLevelOpsPluginPath

      @POST public FormValidation doCheckLevelOpsPluginPath(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String path)
    • doCheckBullseyeXmlResultPaths

      public FormValidation doCheckBullseyeXmlResultPaths(org.kohsuke.stapler.StaplerRequest res, org.kohsuke.stapler.StaplerResponse rsp, @QueryParameter("value") String bullseyeXmlResultPaths)