public class RemoteAgent extends Object implements AutoCloseable
RemoteAgentRule
.
Alternatively it can be created in try-with-resources block or handled manually.
Watch out as it does some unexpected things like removing all local agents from the server.Constructor and Description |
---|
RemoteAgent() |
RemoteAgent(BambooEnvironmentData bambooEnvironmentData) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
setLogsFolderName(String logsFolderName)
Set log folder name.
|
public RemoteAgent(BambooEnvironmentData bambooEnvironmentData) throws Exception
Exception
public void close() throws Exception
close
in interface AutoCloseable
Exception
public void setLogsFolderName(@Nullable String logsFolderName)
RemoteAgentInstallation.REMOTE_AGENT_LOGS_DIRECTORY
system property
is not empty.logsFolderName
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.