org.jbehave.core.steps
Class Stepdoc
java.lang.Object
org.jbehave.core.steps.Stepdoc
- All Implemented Interfaces:
- Comparable<Stepdoc>
public class Stepdoc
- extends Object
- implements Comparable<Stepdoc>
A Stepdoc represents the documentation on a single StepCandidate
,
which includes:
- the step type
- the pattern to match the step candidate that is configured in the
annotation
- the method in the steps instance class
- the steps instance class
Stepdoc
public Stepdoc(StepCandidate candidate)
getStepType
public StepType getStepType()
getStartingWord
public String getStartingWord()
getPattern
public String getPattern()
getMethod
public Method getMethod()
getStepsInstance
public Object getStepsInstance()
getMethodSignature
public String getMethodSignature()
- Method signature without "public void" prefix
- Returns:
- The method signature in String format
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(Stepdoc that)
- Specified by:
compareTo
in interface Comparable<Stepdoc>
Copyright © 2003-2012. All Rights Reserved.