public class JtAdapter extends Object implements IJtExecutorAdapter, IJtConfigAdapter
| Constructor and Description |
|---|
JtAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
cfgGet(String name,
String def) |
Map |
cfgMap(String name) |
boolean |
cfgSet(String name,
String value) |
String |
defaultExecutor() |
void |
defaultExecutorSet(String defaultExecutor) |
List<AFileModel> |
fileFind(String tag,
String label,
boolean isCache) |
AFileModel |
fileGet(String path) |
void |
log(AFileModel file,
Map<String,Object> data) |
void |
logError(AFileModel file,
String msg,
Throwable err) |
String |
nodeId() |
public static JtAdapter global
public void log(AFileModel file, Map<String,Object> data)
log in interface IJtExecutorAdapterpublic void logError(AFileModel file, String msg, Throwable err)
logError in interface IJtExecutorAdapterpublic AFileModel fileGet(String path) throws Exception
fileGet in interface IJtExecutorAdapterExceptionpublic List<AFileModel> fileFind(String tag, String label, boolean isCache) throws Exception
fileFind in interface IJtExecutorAdapterExceptionpublic String nodeId()
nodeId in interface IJtExecutorAdapterpublic String defaultExecutor()
defaultExecutor in interface IJtExecutorAdapterpublic void defaultExecutorSet(String defaultExecutor)
public String cfgGet(String name, String def) throws Exception
cfgGet in interface IJtConfigAdapterExceptionpublic Map cfgMap(String name) throws Exception
cfgMap in interface IJtConfigAdapterExceptionCopyright © 2025. All rights reserved.