org.jbehave.core.steps
Class Stepdoc

java.lang.Object
  extended by 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:


Constructor Summary
Stepdoc(StepCandidate candidate)
           
 
Method Summary
 int compareTo(Stepdoc that)
           
 Method getMethod()
           
 String getMethodSignature()
          Method signature without "public void" prefix
 String getPattern()
           
 String getStartingWord()
           
 Object getStepsInstance()
           
 StepType getStepType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

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.