net.masterthought.cucumber.json
Class Step

java.lang.Object
  extended by net.masterthought.cucumber.json.Step

public class Step
extends Object


Nested Class Summary
static class Step.functions
           
static class Step.predicates
           
 
Constructor Summary
Step()
           
 
Method Summary
 String getDataTableClass()
           
 DocString getDocString()
           
 String getDocStringOrNothing()
          Returns a formatted doc-string section.
 Long getDuration()
           
 Object[] getEmbeddings()
           
 String getImageTags()
           
 Match getMatch()
           
 String getName()
           
 String getOutput()
           
 String getRawName()
           
 Row[] getRows()
           
 Util.Status getStatus()
           
 boolean hasDocString()
           
 boolean hasRows()
           
static String mimeEncodeEmbededImage(Object image)
           
 void setName(String newName)
           
static String uuidForImage(Object image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Step

public Step()
Method Detail

getDocString

public DocString getDocString()

getRows

public Row[] getRows()

getOutput

public String getOutput()

getMatch

public Match getMatch()

getEmbeddings

public Object[] getEmbeddings()

hasRows

public boolean hasRows()

hasDocString

public boolean hasDocString()
Returns:
- Returns true if has a sub doc-string, and that doc-string has a value

getStatus

public Util.Status getStatus()

getDuration

public Long getDuration()

getDataTableClass

public String getDataTableClass()

getRawName

public String getRawName()

getName

public String getName()

getDocStringOrNothing

public String getDocStringOrNothing()
Returns a formatted doc-string section. This is formatted w.r.t the parent Step element. To preserve whitespace in example, line breaks and whitespace are preserved

Returns:
string of html

setName

public void setName(String newName)

getImageTags

public String getImageTags()

mimeEncodeEmbededImage

public static String mimeEncodeEmbededImage(Object image)

uuidForImage

public static String uuidForImage(Object image)


Copyright © 2014. All Rights Reserved.