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 Summary
Constructors Constructor Description RemoteAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 givenAgentContext
as system properties.@NotNull AgentContext
getAgentContext()
static @NotNull AgentContext
getContext()
static @NotNull ServerFingerprint
getFingerprint()
protected Stream<String>
getPreApplicationContextFiles()
protected Stream<String>
getSpringStartupApplicationContextFiles()
protected Stream<String>
getSpringStartupApplicationContextFilesEphemeral()
@Nullable UUID
getUuid()
static void
main(String[] args)
void
start(@Nullable AgentContext context)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
start
public void start(@Nullable @Nullable AgentContext context)
-
exportContextProperties
protected void exportContextProperties(@Nullable @Nullable AgentContext context)
Exports the user properties from the given
AgentContext
as system properties.- Parameters:
context
- TheAgentContext
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.
-
getSpringStartupApplicationContextFilesEphemeral
protected Stream<String> getSpringStartupApplicationContextFilesEphemeral()
-
getSpringStartupApplicationContextFiles
protected Stream<String> getSpringStartupApplicationContextFiles()
-
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()
-
-