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(AgentContext context)
Exports the user properties from the given
AgentContext as system properties. |
AgentContext |
getAgentContext() |
static AgentContext |
getContext() |
static ServerFingerprint |
getFingerprint() |
protected String[] |
getPreApplicationContextFiles() |
protected String[] |
getSpringStartupApplicationContextFiles() |
UUID |
getUuid() |
static void |
main(String[] args) |
void |
start(AgentContext context) |
public static void main(String[] args)
public void start(@Nullable AgentContext context)
protected void exportContextProperties(@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 AgentContext getContext()
@NotNull public AgentContext getAgentContext()
@Nullable public UUID getUuid()
@NotNull public static ServerFingerprint getFingerprint()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.