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 intcompareTo(Stepdoc that)MethodgetMethod()StringgetMethodSignature()Method signature without "public void" prefixStringgetPattern()StringgetStartingWord()ObjectgetStepsInstance()StepTypegetStepType()StringtoString()
-
-
-
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:
compareToin interfaceComparable<Stepdoc>
-
-