Package prompto.runtime
Class Standalone
- java.lang.Object
-
- prompto.runtime.Standalone
-
public abstract class Standalone extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static IRuntimeConfigurationconfiguration
-
Constructor Summary
Constructors Constructor Description Standalone()
-
Method Summary
-
-
-
Field Detail
-
configuration
public static IRuntimeConfiguration configuration
-
-
Method Detail
-
main
public static void main(IStandaloneConfiguration config, ICodeStore codeStore, IStore dataStore) throws Throwable
- Throws:
Throwable
-
run
public static void run(IStandaloneConfiguration config) throws Throwable
- Throws:
Throwable
-
readerFromArgs
public static IConfigurationReader readerFromArgs(Map<String,String> argsMap) throws IOException
- Throws:
IOException
-
getApplicationConfiguration
public static PromptoDocument<String,Object> getApplicationConfiguration()
-
initialize
public static void initialize(IRuntimeConfiguration config) throws Throwable
- Throws:
Throwable
-
initialize
public static void initialize(IRuntimeConfiguration config, ICodeStore codeStore, IStore dataStore) throws Throwable
- Throws:
Throwable
-
initializeCodeStore
public static ICodeStore initializeCodeStore(IRuntimeConfiguration config) throws Throwable
- Throws:
Throwable
-
initializeDataStore
public static IStore initializeDataStore(IRuntimeConfiguration config) throws Throwable
- Throws:
Throwable
-
getClassLoader
public static PromptoClassLoader getClassLoader()
-
getDebugEventAdapter
public static IDebugEventAdapter getDebugEventAdapter()
-
getDebugRequestListener
public static IDebugRequestListener getDebugRequestListener()
-
startProcessDebugger
public static ProcessDebugger startProcessDebugger(IDebugConfiguration config) throws Throwable
- Throws:
Throwable
-
wireProcessDebugger
public static void wireProcessDebugger(ProcessDebugger processDebugger, Context context)
-
stopProcessDebugger
public static void stopProcessDebugger()
-
startWorkerDebugger
public static WorkerDebugger startWorkerDebugger(Thread thread, Context context)
-
createDebugRequestListener
public static IDebugRequestListener createDebugRequestListener(IDebugConfiguration cfg, IDebugger debugger) throws Throwable
- Throws:
Throwable
-
createDebugEventAdapter
public static IDebugEventAdapter createDebugEventAdapter(IDebugConfiguration cfg) throws Throwable
- Throws:
Throwable
-
argsToArgValue
public static IExpression argsToArgValue(Map<String,String> args)
-
showHelp
public static void showHelp(String application, String test, PromptoVersion version)
-
bootstrapDataStore
public static IStore bootstrapDataStore(IStore store) throws Exception
- Throws:
Exception
-
synchronizeSchema
public static void synchronizeSchema(ICodeStore codeStore, IStore dataStore) throws PromptoError
- Throws:
PromptoError
-
bootstrapCodeStore
public static ICodeStore bootstrapCodeStore(IStore store, IRuntimeConfiguration config) throws Exception
- Throws:
Exception
-
getMinimalDataColumns
public static Map<String,AttributeDeclaration> getMinimalDataColumns(IStore dataStore)
-
-