public class StoryTimeouts extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StoryTimeouts.DigitTimeoutParser
A digit parser for timeouts
|
static class |
StoryTimeouts.SimpleTimeoutParser
A simple parser for timeouts of format: 1d 2h 30m 15s.
|
static class |
StoryTimeouts.StoryTimeout |
static class |
StoryTimeouts.TimeoutFormatException |
static interface |
StoryTimeouts.TimeoutParser |
Constructor and Description |
---|
StoryTimeouts(EmbedderControls embedderControls,
EmbedderMonitor embedderMonitor) |
Modifier and Type | Method and Description |
---|---|
long |
getTimeoutInSecs(Story story) |
StoryTimeouts |
withParsers(StoryTimeouts.TimeoutParser... parsers) |
public StoryTimeouts(EmbedderControls embedderControls, EmbedderMonitor embedderMonitor)
public StoryTimeouts withParsers(StoryTimeouts.TimeoutParser... parsers)
public long getTimeoutInSecs(Story story)
Copyright © 2003–2015. All rights reserved.