Class LevelOpsPluginImpl

java.lang.Object
io.levelops.plugins.levelops_job_reporter.plugins.LevelOpsPluginImpl

public class LevelOpsPluginImpl extends Object
  • Field Details

  • Method Details

    • load

      public void load() throws IOException
      Throws:
      IOException
    • save

      public void save() throws IOException
      Throws:
      IOException
    • getInstance

      public static LevelOpsPluginImpl getInstance()
    • setMigrated

      public void setMigrated(boolean migrated)
    • isMigrated

      public boolean isMigrated()
    • getHudsonHome

      public File getHudsonHome()
    • setJenkinsBaseUrl

      public void setJenkinsBaseUrl(String jenkinsBaseUrl)
    • getJenkinsBaseUrl

      public String getJenkinsBaseUrl()
    • getLevelOpsApiKey

      public String getLevelOpsApiKey()
    • setLevelOpsApiKey

      public void setLevelOpsApiKey(String levelOpsApiKey)
    • 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.
    • setLevelOpsPluginPath

      public void setLevelOpsPluginPath(String levelOpsPluginPath)
    • getExpandedLevelOpsPluginPath

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

      public String getJenkinsStatus()
    • setJenkinsStatus

      public void setJenkinsStatus(String jenkinsStatus)
    • getConfigUpdatedAt

      public long getConfigUpdatedAt()
    • setConfigUpdatedAt

      public void setConfigUpdatedAt(long configUpdatedAt)
    • getHeartbeatDuration

      public long getHeartbeatDuration()
    • setHeartbeatDuration

      public void setHeartbeatDuration(long heartbeatDuration)
    • 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()
    • setJenkinsUserName

      public void setJenkinsUserName(String jenkinsUserName)
    • getJenkinsUserToken

      public String getJenkinsUserToken()
    • setJenkinsUserToken

      public void setJenkinsUserToken(String jenkinsUserToken)
    • getBullseyeXmlResultPaths

      public String getBullseyeXmlResultPaths()
    • setBullseyeXmlResultPath

      public void setBullseyeXmlResultPath(String bullseyeXmlResultPaths)
    • isTrustAllCertificates

      public boolean isTrustAllCertificates()
    • setTrustAllCertificates

      public void setTrustAllCertificates(boolean trustAllCertificates)
    • getProductIds

      public String getProductIds()
    • setProductIds

      public void setProductIds(String productIds)
    • getProductIdsList

      public List<String> getProductIdsList()
    • getJenkinsInstanceName

      public String getJenkinsInstanceName()
    • setJenkinsInstanceName

      public void setJenkinsInstanceName(String jenkinsInstanceName)