org.jbehave.core.steps
Class Stepdoc

java.lang.Object
  extended by org.jbehave.core.steps.Stepdoc
All Implemented Interfaces:
java.lang.Comparable<Stepdoc>

public class Stepdoc
extends java.lang.Object
implements java.lang.Comparable<Stepdoc>

A Stepdoc represents the documentation on a single candidate step, which includes:

Author:
Mauro Talevi

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

Constructor Detail

Stepdoc

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

getAnnotation

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()

getPattern

public java.lang.String getPattern()

getAliasPatterns

public java.util.List<java.lang.String> getAliasPatterns()

getMethod

public java.lang.reflect.Method getMethod()

getCandidateSteps

public CandidateSteps getCandidateSteps()

getMethodSignature

public java.lang.String getMethodSignature()
Method signature without "public void" prefix

Returns:
The method signature in String format

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(Stepdoc that)
Specified by:
compareTo in interface java.lang.Comparable<Stepdoc>


Copyright © 2003-2010. All Rights Reserved.