|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.consol.citrus.validation.script.ScriptValidationContext
public class ScriptValidationContext
Basic script validation context providing the validation code either from file resource or from direct script string.
| Constructor Summary | |
|---|---|
ScriptValidationContext()
Default constructor. |
|
ScriptValidationContext(String type)
Constructor using type field. |
|
| Method Summary | |
|---|---|
String |
getScriptType()
Gets the type of script used in this validation context. |
String |
getValidationScript()
Gets the validationScript. |
String |
getValidationScript(TestContext context)
Constructs the actual validation script either from data or external resource. |
String |
getValidationScriptResourcePath()
Gets the validationScriptResource. |
void |
setScriptType(String scriptType)
Sets the scriptType. |
void |
setValidationScript(String validationScript)
Sets the validationScript. |
void |
setValidationScriptResourcePath(String validationScriptResource)
Sets the validationScriptResource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptValidationContext()
public ScriptValidationContext(String type)
type - | Method Detail |
|---|
public String getValidationScript(TestContext context)
context - the current TestContext.
CitrusRuntimeExceptionpublic String getScriptType()
public String getValidationScriptResourcePath()
public void setValidationScriptResourcePath(String validationScriptResource)
validationScriptResource - the validationScriptResource to setpublic String getValidationScript()
public void setValidationScript(String validationScript)
validationScript - the validationScript to setpublic void setScriptType(String scriptType)
scriptType - the scriptType to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||