Modifier and Type | Class and Description |
---|---|
private static class |
TestCommand.Type |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
EXAMPLES_PACKAGE |
private LifecycleServiceClient |
lifecycleServiceClient |
private static org.slf4j.Logger |
logger |
private WorkerServiceClient |
workerServiceClient |
private java.io.PrintWriter |
writer |
Constructor and Description |
---|
TestCommand(WorkerServiceClient workerServiceClient,
LifecycleServiceClient lifecycleServiceClient,
org.jline.terminal.Terminal terminal) |
Modifier and Type | Method and Description |
---|---|
void |
computationInterrupted(java.util.Map<java.lang.String,java.lang.Object> parameters)
Operation to test interrupted computation.
|
void |
executeExample(java.util.Map<java.lang.String,java.lang.Object> parameters) |
void |
listExamples() |
java.lang.String |
name()
Name of the command (for JavaScript side)
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkAndCast, checkAndCastDefault, checkAndCastNullable, getAndCast, getAndCastDefault, getAndCastNullable
private static final org.slf4j.Logger logger
private static final java.lang.String EXAMPLES_PACKAGE
private final WorkerServiceClient workerServiceClient
private final LifecycleServiceClient lifecycleServiceClient
private final java.io.PrintWriter writer
@Inject public TestCommand(WorkerServiceClient workerServiceClient, LifecycleServiceClient lifecycleServiceClient, org.jline.terminal.Terminal terminal)
public java.lang.String name()
Command
Name of the command (for JavaScript side)
public void listExamples()
public void executeExample(java.util.Map<java.lang.String,java.lang.Object> parameters)
public void computationInterrupted(java.util.Map<java.lang.String,java.lang.Object> parameters)
Operation to test interrupted computation.
Currently it can run:
public java.lang.String toString()
toString
in class java.lang.Object