public class RemoteTransformerClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
checkAvailabilityAfter |
| Constructor and Description |
|---|
RemoteTransformerClient(String name,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
Pair<Boolean,String> |
check(org.apache.commons.logging.Log logger) |
static Pair<Boolean,String> |
check(RuntimeExec checkCommand)
Helper method that returns the same result type as
check(Log) given a local checkCommand. |
String |
getBaseUrl() |
boolean |
isAvailable() |
void |
request(ContentReader reader,
ContentWriter writer,
String sourceMimetype,
String sourceExtension,
String targetExtension,
long timeoutMs,
org.apache.commons.logging.Log logger,
String... args) |
void |
setStartupRetryPeriodSeconds(int startupRetryPeriodSeconds) |
public void setStartupRetryPeriodSeconds(int startupRetryPeriodSeconds)
public String getBaseUrl()
public void request(ContentReader reader, ContentWriter writer, String sourceMimetype, String sourceExtension, String targetExtension, long timeoutMs, org.apache.commons.logging.Log logger, String... args) throws IllegalAccessException
IllegalAccessExceptionpublic static Pair<Boolean,String> check(RuntimeExec checkCommand)
check(Log) given a local checkCommand.public boolean isAvailable()
Copyright © 2005–2020 Alfresco Software. All rights reserved.