@ApplicationScoped public class DefaultClientFactory extends Object implements ClientFactory
| Constructor and Description |
|---|
DefaultClientFactory() |
DefaultClientFactory(org.jboss.pnc.common.json.moduleconfig.TermdBuildDriverModuleConfig config) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.pnc.buildagent.client.BuildAgentClient |
createBuildAgentClient(String terminalUrl,
Consumer<org.jboss.pnc.buildagent.api.TaskStatusUpdateEvent> onStatusUpdate) |
FileTranser |
getFileTransfer(URI baseServerUri,
int maxLogSize) |
public DefaultClientFactory()
public DefaultClientFactory(org.jboss.pnc.common.json.moduleconfig.TermdBuildDriverModuleConfig config)
public org.jboss.pnc.buildagent.client.BuildAgentClient createBuildAgentClient(String terminalUrl, Consumer<org.jboss.pnc.buildagent.api.TaskStatusUpdateEvent> onStatusUpdate) throws TimeoutException, InterruptedException, org.jboss.pnc.buildagent.client.BuildAgentClientException
createBuildAgentClient in interface ClientFactoryTimeoutExceptionInterruptedExceptionorg.jboss.pnc.buildagent.client.BuildAgentClientExceptionpublic FileTranser getFileTransfer(URI baseServerUri, int maxLogSize)
getFileTransfer in interface ClientFactoryCopyright © 2014–2020 JBoss by Red Hat. All rights reserved.