Package 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 singleStepCandidate
, 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
-
-
Constructor Summary
Constructors Constructor Description Stepdoc(StepCandidate candidate)
-
Method Summary
Modifier and Type Method Description int
compareTo(Stepdoc that)
Method
getMethod()
String
getMethodSignature()
Method signature without "public void" prefixString
getPattern()
String
getStartingWord()
Object
getStepsInstance()
StepType
getStepType()
String
toString()
-
-
-
Constructor Detail
-
Stepdoc
public Stepdoc(StepCandidate candidate)
-
-
Method Detail
-
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
-
compareTo
public int compareTo(Stepdoc that)
- Specified by:
compareTo
in interfaceComparable<Stepdoc>
-
-