@Deprecated public class RemoteTransformerClient extends Object
| Constructor and Description |
|---|
RemoteTransformerClient(String name,
String baseUrl)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.util.Pair<Boolean,String> |
check(org.apache.commons.logging.Log logger)
Deprecated.
Indicates if a remote transform:
a) ready probe has ever indicated success
new Pair<>(true, <version string>),
b) a ready probe has just failed new Pair<>(false, <error string>), or
c) we are not performing a ready check as we have just done one new Pair<>(null, null). |
static org.alfresco.util.Pair<Boolean,String> |
check(org.alfresco.util.exec.RuntimeExec checkCommand)
Deprecated.
Helper method that returns the same result type as
check(Log) given a local checkCommand. |
String |
getBaseUrl()
Deprecated.
|
boolean |
isAvailable()
Deprecated.
|
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)
Deprecated.
|
void |
setStartupRetryPeriodSeconds(int startupRetryPeriodSeconds)
Deprecated.
|
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 org.alfresco.util.Pair<Boolean,String> check(org.apache.commons.logging.Log logger)
new Pair<>(true, <version string>),
b) a ready probe has just failed new Pair<>(false, <error string>), or
c) we are not performing a ready check as we have just done one new Pair<>(null, null).public 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.