Package com.intuit.karate.core
Class Variable
java.lang.Object
com.intuit.karate.core.Variable
- Author:
- pthomas3
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy
(boolean deep) byte[]
int
getAsInt()
getAsXml()
<T> T
getValue()
boolean
isBytes()
boolean
boolean
boolean
boolean
boolean
boolean
isList()
boolean
isMap()
boolean
boolean
boolean
isNull()
boolean
isNumber()
boolean
isOther()
boolean
isString()
boolean
isTrue()
boolean
isXml()
toString()
-
Field Details
-
NULL
-
NOT_PRESENT
-
type
-
-
Constructor Details
-
Variable
-
-
Method Details
-
getValue
public <T> T getValue() -
isJsOrJavaFunction
public boolean isJsOrJavaFunction() -
isJavaFunction
public boolean isJavaFunction() -
isJsFunction
public boolean isJsFunction() -
isJsFunctionWrapper
public boolean isJsFunctionWrapper() -
isBytes
public boolean isBytes() -
isString
public boolean isString() -
isList
public boolean isList() -
isMap
public boolean isMap() -
isMapOrList
public boolean isMapOrList() -
isXml
public boolean isXml() -
isNumber
public boolean isNumber() -
isNull
public boolean isNull() -
isOther
public boolean isOther() -
isFeature
public boolean isFeature() -
isTrue
public boolean isTrue() -
getTypeString
-
getAsXml
-
getValueAndConvertIfXmlToMap
-
getValueAndForceParsingAsJson
-
getAsByteArray
public byte[] getAsByteArray() -
getAsString
-
getAsPrettyString
-
getAsPrettyXmlString
-
getAsInt
public int getAsInt() -
copy
-
toLowerCase
-
isNotPresent
public boolean isNotPresent() -
toString
-