Package org.jbehave.core.embedder
Class StoryManager.RunningStory
- java.lang.Object
-
- org.jbehave.core.embedder.StoryManager.RunningStory
-
- Enclosing class:
- StoryManager
public static class StoryManager.RunningStory extends Object
-
-
Constructor Summary
Constructors Constructor Description RunningStory(org.jbehave.core.embedder.StoryManager.EnqueuedStory enqueuedStory, Future<StoryManager.ThrowableStory> future)
-
Method Summary
Modifier and Type Method Description StoryDuration
getDuration()
long
getDurationInMillis()
Future<StoryManager.ThrowableStory>
getFuture()
Story
getStory()
boolean
isDone()
boolean
isFailed()
boolean
isStarted()
void
updateDuration()
-
-
-
Constructor Detail
-
RunningStory
public RunningStory(org.jbehave.core.embedder.StoryManager.EnqueuedStory enqueuedStory, Future<StoryManager.ThrowableStory> future)
-
-
Method Detail
-
getFuture
public Future<StoryManager.ThrowableStory> getFuture()
-
getStory
public Story getStory()
-
getDurationInMillis
public long getDurationInMillis()
-
getDuration
public StoryDuration getDuration()
-
updateDuration
public void updateDuration()
-
isDone
public boolean isDone()
-
isFailed
public boolean isFailed()
-
isStarted
public boolean isStarted()
-
-