Package com.walkfares.odsl.var.workflow
Class WorkflowPhase
java.lang.Object
com.walkfares.odsl.var.workflow.WorkflowPhase
public class WorkflowPhase extends Object
-
Constructor Summary
Constructors Constructor Description WorkflowPhase(OpenDSLContext context, org.antlr.v4.runtime.ParserRuleContext node, com.walkfares.odsl.grammar.OpenDSLParser.PhaseContext ctx)
-
Method Summary
Modifier and Type Method Description void
end(String status, String message)
org.antlr.v4.runtime.ParserRuleContext
fail(RuntimeException re)
com.walkfares.odsl.grammar.OpenDSLParser.PhaseContext
getContext()
long
getDelay()
String
getName()
int
getRetries()
org.antlr.v4.runtime.ParserRuleContext
getStart()
void
retry()
WorkflowPhase
setContext(com.walkfares.odsl.grammar.OpenDSLParser.PhaseContext ctx)
void
start()
void
waitForRetry(String waittime)
-
Constructor Details
-
WorkflowPhase
public WorkflowPhase(OpenDSLContext context, org.antlr.v4.runtime.ParserRuleContext node, com.walkfares.odsl.grammar.OpenDSLParser.PhaseContext ctx)
-
-
Method Details
-
getContext
public com.walkfares.odsl.grammar.OpenDSLParser.PhaseContext getContext() -
setContext
-
start
public void start() -
end
-
waitForRetry
-
retry
public void retry() -
fail
-
getRetries
public int getRetries() -
getDelay
public long getDelay() -
getName
-
getStart
public org.antlr.v4.runtime.ParserRuleContext getStart()
-