@Test public void testSetMaxRetries() { WorkflowRetryAndContinue strategy = createStrategy(); assertNull(strategy.getMaxRetries()); assertEquals(WorkflowRetryAndFail.DEFAULT_MAX_RETRIES, strategy.maxRetries()); strategy.setMaxRetries(10); assertEquals(Integer.valueOf(10), strategy.getMaxRetries()); assertEquals(10, strategy.maxRetries()); strategy.setMaxRetries(null); assertEquals(WorkflowRetryAndFail.DEFAULT_MAX_RETRIES, strategy.maxRetries()); }
public void setMaxRetries(Integer maxRetries) { this.maxRetries = maxRetries; }
WorkflowRetryAndContinue extends DefaultWorkflowLifecycleStrategy { public void setMaxRetries(Integer maxRetries) { this.maxRetries = maxRetries; } }
WorkflowRetryAndContinue extends DefaultWorkflowLifecycleStrategy { public void setMaxRetries(Integer maxRetries) { this.maxRetries = maxRetries; } WorkflowRetryAndContinue();  WorkflowRetryAndContinue(Integer max, TimeInterval interval); }
WorkflowRetryAndContinue extends DefaultWorkflowLifecycleStrategy { public void setMaxRetries(Integer maxRetries) { this.maxRetries = maxRetries; } WorkflowRetryAndContinue();  WorkflowRetryAndContinue(Integer max, TimeInterval interval); @Override void start(List<Workflow> workflowList); @Override void init(List<Workflow> workflowList); Integer getMaxRetries(); void setMaxRetries(Integer maxRetries); TimeInterval getWaitBetweenRetries(); void setWaitBetweenRetries(TimeInterval tu); }
WorkflowRetryAndContinue extends DefaultWorkflowLifecycleStrategy { public void setMaxRetries(Integer maxRetries) { this.maxRetries = maxRetries; } WorkflowRetryAndContinue();  WorkflowRetryAndContinue(Integer max, TimeInterval interval); @Override void start(List<Workflow> workflowList); @Override void init(List<Workflow> workflowList); Integer getMaxRetries(); void setMaxRetries(Integer maxRetries); TimeInterval getWaitBetweenRetries(); void setWaitBetweenRetries(TimeInterval tu);  }