|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteteg.sinon.core.Page
public class Page
Class that represents the processing of a Web page in Sinon.
| Field Summary | |
|---|---|
static boolean |
GET_METHOD
Constant that GET method to method property. |
static boolean |
POST_METHOD
Constant that defines the POST method to method property. |
| Constructor Summary | |
|---|---|
Page()
Constructor without parameters. |
|
| Method Summary | |
|---|---|
void |
addAction(Action action)
Adds an Action to this page. |
void |
addStep(Step step)
Adds a Step to this page. |
Action[] |
getActions()
Returns the value of the actions property. |
PageConfiguration |
getConfiguration()
Returns the value of the configuration property. |
java.lang.String |
getErrorListenerClassName()
Returns the value of the errorListenerClassName property. |
boolean |
getFollowRedirects()
Returns the value of the followRedirects property. |
java.lang.String |
getId()
Returns the value of the id property. |
boolean |
getMethod()
Returns the value of the method property. |
java.lang.String |
getPageStateListenerClassName()
Returns the value of the pageStateListenerClassName property. |
java.lang.String |
getPromptListenerClassName()
Returns the value of the promptListenerClassName property. |
Step[] |
getSteps()
Returns the value of the steps property. |
PageStorageConfiguration |
getStorageConfiguration()
Returns the value of the storageConfiguration property. |
java.lang.String |
getUrl()
Returns the value of the url property. |
void |
setConfiguration(PageConfiguration configuration)
Sets the value of the configuration property. |
void |
setErrorListenerClassName(java.lang.String errorListenerClassName)
Sets the value of the errorListenerClassName property. |
void |
setFollowRedirects(boolean followRedirects)
Sets the value of the followRedirects property. |
void |
setId(java.lang.String id)
Sets the value of the id property. |
void |
setMethod(boolean method)
Sets the value of the method property. |
void |
setPageStateListenerClassName(java.lang.String pageStateListenerClassName)
Sets the value of the pageStateListenerClassName property. |
void |
setPromptListenerClassName(java.lang.String promptListenerClassName)
Sets the value of the promptListenerClassName property. |
void |
setStorageConfiguration(PageStorageConfiguration storageConfiguration)
Sets the value of the storageConfiguration property. |
void |
setUrl(java.lang.String url)
Sets the value of the url property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean POST_METHOD
method property.
public static final boolean GET_METHOD
method property.
| Constructor Detail |
|---|
public Page()
| Method Detail |
|---|
public java.lang.String getId()
id property.
String.public void setId(java.lang.String id)
id property.
id - the new id value.public boolean getMethod()
method property.
GET_METHOD or POST_METHOD.public void setMethod(boolean method)
method property.
method - GET_METHOD or POST_METHOD.public java.lang.String getUrl()
url property.
String.public void setUrl(java.lang.String url)
url property.
url - the new url value.public boolean getFollowRedirects()
followRedirects property.
boolean.public void setFollowRedirects(boolean followRedirects)
followRedirects property.
followRedirects - the new followRedirects value.public PageStorageConfiguration getStorageConfiguration()
storageConfiguration property.
String.public void setStorageConfiguration(PageStorageConfiguration storageConfiguration)
storageConfiguration property.
storageConfiguration - the new storageConfiguration
value.public void addStep(Step step)
Step to this page.
step - a Step instance.public Step[] getSteps()
steps property.
Step array.public void addAction(Action action)
Action to this page.
action - a Action instance.public Action[] getActions()
actions property.
Action array.public PageConfiguration getConfiguration()
configuration property.
String.public void setConfiguration(PageConfiguration configuration)
configuration property.
configuration - the new configuration value.public java.lang.String getErrorListenerClassName()
errorListenerClassName property.
String.public void setErrorListenerClassName(java.lang.String errorListenerClassName)
errorListenerClassName property.
errorListenerClassName - the new errorListenerClassName
value.public java.lang.String getPageStateListenerClassName()
pageStateListenerClassName property.
String.public void setPageStateListenerClassName(java.lang.String pageStateListenerClassName)
pageStateListenerClassName property.
pageStateListenerClassName - the new
pageStateListenerClassName value.public java.lang.String getPromptListenerClassName()
promptListenerClassName property.
String.public void setPromptListenerClassName(java.lang.String promptListenerClassName)
promptListenerClassName property.
promptListenerClassName - the new
promptListenerClassName value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||