Class CfgServer

java.lang.Object
de.gematik.test.tiger.testenvmgr.config.CfgServer

public class CfgServer extends Object
  • Constructor Details

    • CfgServer

      public CfgServer()
  • Method Details

    • getHostname

      public String getHostname()
    • getType

      public String getType()
    • getDependsUpon

      public String getDependsUpon()
      References another server which has to be booted prior to this. Multiple servers can be referenced, divided by comma.
    • getSource

      public List<String> getSource()
    • getVersion

      public String getVersion()
    • getStartupTimeoutSec

      public Integer getStartupTimeoutSec()
    • getStartupPollIntervalMs

      public Integer getStartupPollIntervalMs()
    • isActive

      public boolean isActive()
    • getHealthcheckUrl

      public String getHealthcheckUrl()
    • getHealthcheckReturnCode

      public Integer getHealthcheckReturnCode()
    • getLogFile

      public String getLogFile()
    • getExternalJarOptions

      public CfgExternalJarOptions getExternalJarOptions()
    • getTigerProxyConfiguration

      public TigerProxyConfiguration getTigerProxyConfiguration()
    • getHelmChartOptions

      public CfgHelmChartOptions getHelmChartOptions()
    • getEnvironment

      public List<String> getEnvironment()
      list of env vars to be set for docker, external Jar/TigerProxy
    • getUrlMappings

      public List<String> getUrlMappings()
      mappings for local tiger proxy to be set when this server is active
    • getExports

      public List<String> getExports()
      properties to be exported to subsequent nodes as env vars and set as system properties to current jvm
    • getUiRank

      public int getUiRank()
    • setHostname

      public CfgServer setHostname(String hostname)
      Returns:
      this.
    • setType

      public CfgServer setType(String type)
      Returns:
      this.
    • setDependsUpon

      public CfgServer setDependsUpon(String dependsUpon)
      References another server which has to be booted prior to this. Multiple servers can be referenced, divided by comma.
      Returns:
      this.
    • setSource

      public CfgServer setSource(List<String> source)
      Returns:
      this.
    • setVersion

      public CfgServer setVersion(String version)
      Returns:
      this.
    • setStartupTimeoutSec

      public CfgServer setStartupTimeoutSec(Integer startupTimeoutSec)
      Returns:
      this.
    • setStartupPollIntervalMs

      public CfgServer setStartupPollIntervalMs(Integer startupPollIntervalMs)
      Returns:
      this.
    • setActive

      public CfgServer setActive(boolean active)
      Returns:
      this.
    • setHealthcheckUrl

      public CfgServer setHealthcheckUrl(String healthcheckUrl)
      Returns:
      this.
    • setHealthcheckReturnCode

      public CfgServer setHealthcheckReturnCode(Integer healthcheckReturnCode)
      Returns:
      this.
    • setLogFile

      public CfgServer setLogFile(String logFile)
      Returns:
      this.
    • setExternalJarOptions

      public CfgServer setExternalJarOptions(CfgExternalJarOptions externalJarOptions)
      Returns:
      this.
    • setTigerProxyConfiguration

      public CfgServer setTigerProxyConfiguration(TigerProxyConfiguration tigerProxyConfiguration)
      Returns:
      this.
    • setHelmChartOptions

      public CfgServer setHelmChartOptions(CfgHelmChartOptions helmChartOptions)
      Returns:
      this.
    • setEnvironment

      public CfgServer setEnvironment(List<String> environment)
      list of env vars to be set for docker, external Jar/TigerProxy
      Returns:
      this.
    • setUiRank

      public CfgServer setUiRank(int uiRank)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object