public class JtExecutorAdapter extends Object implements org.noear.luffy.executor.IJtExecutorAdapter, org.noear.luffy.executor.IJtConfigAdapter
| Constructor and Description |
|---|
JtExecutorAdapter(JtFunctionLoader resourceLoader) |
| 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<org.noear.luffy.model.AFileModel> |
fileFind(String tag,
String label,
boolean isCache) |
org.noear.luffy.model.AFileModel |
fileGet(String path) |
void |
log(org.noear.luffy.model.AFileModel file,
Map<String,Object> data) |
void |
logError(org.noear.luffy.model.AFileModel file,
String msg,
Throwable err) |
String |
nodeId() |
public JtExecutorAdapter(JtFunctionLoader resourceLoader)
public void log(org.noear.luffy.model.AFileModel file,
Map<String,Object> data)
log in interface org.noear.luffy.executor.IJtExecutorAdapterpublic void logError(org.noear.luffy.model.AFileModel file,
String msg,
Throwable err)
logError in interface org.noear.luffy.executor.IJtExecutorAdapterpublic org.noear.luffy.model.AFileModel fileGet(String path) throws Exception
fileGet in interface org.noear.luffy.executor.IJtExecutorAdapterExceptionpublic List<org.noear.luffy.model.AFileModel> fileFind(String tag, String label, boolean isCache) throws Exception
fileFind in interface org.noear.luffy.executor.IJtExecutorAdapterExceptionpublic String nodeId()
nodeId in interface org.noear.luffy.executor.IJtExecutorAdapterpublic String defaultExecutor()
defaultExecutor in interface org.noear.luffy.executor.IJtExecutorAdapterpublic void defaultExecutorSet(String defaultExecutor)
public String cfgGet(String name, String def) throws Exception
cfgGet in interface org.noear.luffy.executor.IJtConfigAdapterExceptionpublic boolean cfgSet(String name, String value) throws Exception
cfgSet in interface org.noear.luffy.executor.IJtConfigAdapterExceptionCopyright © 2025. All rights reserved.