org.jbehave.core.steps
Class AbstractStepResult
java.lang.Object
org.jbehave.core.steps.AbstractStepResult
- All Implemented Interfaces:
- StepResult
- Direct Known Subclasses:
- AbstractStepResult.Failed, AbstractStepResult.Ignorable, AbstractStepResult.NotPerformed, AbstractStepResult.Pending, AbstractStepResult.Skipped, AbstractStepResult.Successful
public abstract class AbstractStepResult
- extends Object
- implements StepResult
Represents the possible step results:
- Failed
- NotPerformed
- Pending
- Successful
- Ignorable
- Skipped
step
protected final String step
throwable
protected final UUIDExceptionWrapper throwable
AbstractStepResult
public AbstractStepResult(String step)
AbstractStepResult
public AbstractStepResult(String step,
UUIDExceptionWrapper throwable)
parametrisedStep
public String parametrisedStep()
- Specified by:
parametrisedStep
in interface StepResult
withParameterValues
public StepResult withParameterValues(String parametrisedStep)
- Specified by:
withParameterValues
in interface StepResult
getFailure
public UUIDExceptionWrapper getFailure()
- Specified by:
getFailure
in interface StepResult
toString
public String toString()
- Overrides:
toString
in class Object
successful
public static StepResult successful(String step)
ignorable
public static StepResult ignorable(String step)
pending
public static StepResult pending(String step)
pending
public static StepResult pending(String step,
PendingStepFound e)
notPerformed
public static StepResult notPerformed(String step)
failed
public static StepResult failed(String step,
UUIDExceptionWrapper e)
failed
public static StepResult failed(Method method,
UUIDExceptionWrapper e)
skipped
public static StepResult skipped()
Copyright © 2003-2011. All Rights Reserved.