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 Step, which includes:

Author:
Mauro Talevi

Constructor Summary
Stepdoc(Class<? extends Annotation> annotation, String pattern, String[] aliasPatterns, Method method, CandidateSteps candidateSteps)
           
 
Method Summary
 int compareTo(Stepdoc that)
           
 List<String> getAliasPatterns()
           
 Class<? extends Annotation> getAnnotation()
           
 CandidateSteps getCandidateSteps()
           
 Method getMethod()
           
 String getMethodSignature()
          Method signature without "public void" prefix
 String getPattern()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stepdoc

public Stepdoc(Class<? extends Annotation> annotation,
               String pattern,
               String[] aliasPatterns,
               Method method,
               CandidateSteps candidateSteps)
Method Detail

getAnnotation

public Class<? extends Annotation> getAnnotation()

getPattern

public String getPattern()

getAliasPatterns

public List<String> getAliasPatterns()

getMethod

public Method getMethod()

getCandidateSteps

public CandidateSteps getCandidateSteps()

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-2010. All Rights Reserved.