Class RemoteAgent

java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent
All Implemented Interfaces:
Agent
Direct Known Subclasses:
ElasticAgent

public class RemoteAgent extends Object implements Agent
  • Constructor Details

    • RemoteAgent

      public RemoteAgent()
  • Method Details

    • main

      public static void main(String[] args)
    • start

      public void start(@Nullable @Nullable AgentContext context)
      Specified by:
      start in interface Agent
    • exportContextProperties

      protected void exportContextProperties(@Nullable @Nullable AgentContext context)

      Exports the user properties from the given AgentContext as system properties.

      Parameters:
      context - The AgentContext from which the user properties should be exported.
    • configureIgnoreServerCertName

      protected void configureIgnoreServerCertName()

      If the system property "bamboo.agent.ignoreServerCertName" is set to "true", the configure JSSE to allow SSL connections to servers presenting certificates with non-matching names.

    • getPreApplicationContextFiles

      protected Stream<String> getPreApplicationContextFiles()
    • getSpringStartupApplicationContextFilesEphemeral

      protected Stream<String> getSpringStartupApplicationContextFilesEphemeral()
    • getSpringStartupApplicationContextFiles

      protected Stream<String> getSpringStartupApplicationContextFiles()
    • getSpringStartupApplicationContextFilesLongLived

      protected Stream<String> getSpringStartupApplicationContextFilesLongLived()
    • getContext

      @NotNull public static @NotNull AgentContext getContext()
    • getAgentContext

      @NotNull public @NotNull AgentContext getAgentContext()
    • getUuid

      @Nullable public @Nullable UUID getUuid()
    • getFingerprint

      @NotNull public static @NotNull ServerFingerprint getFingerprint()