Class TunnelManager

java.lang.Object
hudson.model.listeners.SaveableListener
org.marvelution.jji.tunnel.TunnelManager
All Implemented Interfaces:
ExtensionPoint

@Extension public class TunnelManager extends SaveableListener
  • Constructor Details

    • TunnelManager

      public TunnelManager()
  • Method Details

    • onChange

      public void onChange(Saveable o, XmlFile file)
      Overrides:
      onChange in class SaveableListener
    • verifyTunnelToken

      public void verifyTunnelToken(String tunnelId, String tunnelToken)
    • getForwardTo

      public String getForwardTo()
    • getTunnelClassLoader

      public ClassLoader getTunnelClassLoader()
    • loadNgrokNativeLibrary

      @Initializer(after=PLUGINS_PREPARED) public void loadNgrokNativeLibrary()
    • addTunnelAuthenticationFilter

      @Initializer(after=SYSTEM_CONFIG_ADAPTED) public void addTunnelAuthenticationFilter()
    • connectRequiredTunnels

      @Initializer(after=JOB_CONFIG_ADAPTED) public void connectRequiredTunnels()
    • disconnectTunnelForSite

      public void disconnectTunnelForSite(JiraSite site)
    • connectTunnelIfNeeded

      public void connectTunnelIfNeeded(JiraSite site)
    • refreshTunnel

      public void refreshTunnel(JiraSite site)
    • getSiteConnectionError

      @Nullable public String getSiteConnectionError(JiraSite site)
    • setHttpClient

      @Inject public void setHttpClient(okhttp3.OkHttpClient httpClient)
    • setObjectMapper

      @Inject public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)