Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbehave.core.model
Class StepPattern

    java.lang.Object
      org.jbehave.core.model.StepPattern

    public class StepPattern

extends Object

Represents a step pattern, as provided in the method annotations. This pattern will in turn be resolved by the chosen `StepMatcher`, e.g. a regex pattern if using the `RegexStepMatcher`

Constructor Summary
`StepPattern(StepType stepType, String annotated, String resolved)`

Method Summary
`String` | `annotated()` Returns the step pattern as provided in the method annotation
`String` | `resolved()` Return the step pattern as resolved by the step matcher
`String` | `toString()`
`StepType` | `type()` Return the step type

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### StepPattern

    public StepPattern(StepType stepType,
                       String annotated,
                       String resolved)

Method Detail

### annotated

    public String annotated()

  Returns the step pattern as provided in the method annotation

  Returns:
    The String representing the annotated pattern

### resolved

    public String resolved()

  Return the step pattern as resolved by the step matcher

  Returns:
    The String representing the resolved pattern

### type

    public StepType type()

  Return the step type

  Returns:
    The enum for the StepType

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013. All Rights Reserved.