commit 7af96b617f0728b3d0e67959ad40b60e5708adf4 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:20:35 +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; }