Package org.jbehave.core.io.rest
Class Resource
- java.lang.Object
-
- org.jbehave.core.io.rest.Resource
-
public class Resource extends Object
Represents a resource retrieved from a REST API.
-
-
Method Summary
Modifier and Type Method Description List<String>
getBreadcrumbs()
String
getContent()
String
getName()
String
getParentName()
String
getSyntax()
String
getURI()
boolean
hasBreadcrumbs()
boolean
hasContent()
boolean
hasParent()
boolean
hasSyntax()
void
setBreadcrumbs(List<String> breadcrumbs)
void
setContent(String content)
void
setSyntax(String syntax)
String
toString()
-
-
-
Method Detail
-
getURI
public String getURI()
-
getName
public String getName()
-
getParentName
public String getParentName()
-
hasParent
public boolean hasParent()
-
hasBreadcrumbs
public boolean hasBreadcrumbs()
-
setContent
public void setContent(String content)
-
getContent
public String getContent()
-
hasContent
public boolean hasContent()
-
getSyntax
public String getSyntax()
-
setSyntax
public void setSyntax(String syntax)
-
hasSyntax
public boolean hasSyntax()
-
-