public static class StoryTimeouts.SimpleTimeoutParser extends Object implements StoryTimeouts.TimeoutParser
Constructor and Description |
---|
SimpleTimeoutParser() |
Modifier and Type | Method and Description |
---|---|
long |
asSeconds(String timeout) |
boolean |
isValid(String timeout) |
public boolean isValid(String timeout)
isValid
in interface StoryTimeouts.TimeoutParser
public long asSeconds(String timeout)
asSeconds
in interface StoryTimeouts.TimeoutParser
Copyright © 2003–2015. All rights reserved.