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 |
|---|---|
org.alfresco.util.Pair<Boolean,String> |
check(org.apache.commons.logging.Log logger) |
static org.alfresco.util.Pair<Boolean,String> |
check(org.alfresco.util.exec.RuntimeExec checkCommand)
Helper method that returns the same result type as
check(Log) given a local checkCommand. |
String |
getBaseUrl() |
boolean |
isAvailable() |
void |
request(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.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(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
String sourceMimetype,
String sourceExtension,
String targetExtension,
long timeoutMs,
org.apache.commons.logging.Log logger,
String... args)
throws IllegalAccessException
IllegalAccessExceptionpublic static org.alfresco.util.Pair<Boolean,String> check(org.alfresco.util.exec.RuntimeExec checkCommand)
check(Log) given a local checkCommand.public boolean isAvailable()
Copyright © 2005–2018 Alfresco Software. All rights reserved.