public class RemoteAgent extends Object implements Agent
Constructor and Description |
---|
RemoteAgent() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected void |
exportContextProperties(@Nullable AgentContext context)
Exports the user properties from the given
AgentContext as system properties. |
@NotNull AgentContext |
getAgentContext() |
static @NotNull AgentContext |
getContext() |
static @NotNull ServerFingerprint |
getFingerprint() |
protected String[] |
getPreApplicationContextFiles() |
protected String[] |
getSpringStartupApplicationContextFiles() |
@Nullable UUID |
getUuid() |
static void |
main(String[] args) |
void |
start(@Nullable AgentContext context) |
public static void main(String[] args)
public void start(@Nullable @Nullable AgentContext context)
protected void exportContextProperties(@Nullable @Nullable AgentContext context)
Exports the user properties from the given AgentContext
as system properties.
context
- The AgentContext
from which the user properties should be exported.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.
protected String[] getPreApplicationContextFiles()
protected String[] getSpringStartupApplicationContextFiles()
@NotNull public static @NotNull AgentContext getContext()
@NotNull public @NotNull AgentContext getAgentContext()
@Nullable public @Nullable UUID getUuid()
@NotNull public static @NotNull ServerFingerprint getFingerprint()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.