The information in this topic may be out of date. The current SDK reference guide has moved here.
The value returned by this method is the name (tag) assigned to the step (in the check method).
String value = stepinfo.getName();