commit 54d7d44dc168743f5d1960276c21a59a632c0d55
Author:     codespelunker <ryan.nel...@pearson.com>
AuthorDate: Mon, 25 Mar 2013 14:05:19 -0700
Commit:     Mauro Talevi <mauro.tal...@aquilonia.org>
CommitDate: Mon, 25 Mar 2013 21:17:42 +0000

    JBEHAVE-895: Expose class type in StepCandidate, so that callers don't have 
to instantiate a step to get it

diff --git 
a/jbehave-core/src/main/java/org/jbehave/core/steps/StepCandidate.java 
b/jbehave-core/src/main/java/org/jbehave/core/steps/StepCandidate.java
index 3d7f792..ea37f62 100755
--- a/jbehave-core/src/main/java/org/jbehave/core/steps/StepCandidate.java
+++ b/jbehave-core/src/main/java/org/jbehave/core/steps/StepCandidate.java
@@ -68,6 +68,10 @@ public class StepCandidate {
         return stepsFactory.createInstanceOfType(stepsType);
     }
 
+    public Class<?> getStepsType() {
+        return stepsType;
+    }
+    
     public StepType getStepType() {
         return stepType;
     }



Reply via email to