Package com.intuit.karate.core
Class Config
- java.lang.Object
-
- com.intuit.karate.core.Config
-
public class Config extends Object
- Author:
- pthomas3
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_HIGHLIGHT_DURATIONstatic intDEFAULT_RETRY_COUNTstatic intDEFAULT_RETRY_INTERVALstatic intDEFAULT_TIMEOUT
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_RETRY_INTERVAL
public static final int DEFAULT_RETRY_INTERVAL
- See Also:
- Constant Field Values
-
DEFAULT_RETRY_COUNT
public static final int DEFAULT_RETRY_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_HIGHLIGHT_DURATION
public static final int DEFAULT_HIGHLIGHT_DURATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Config
public Config()
-
Config
public Config(Config parent)
-
-
Method Detail
-
setUrl
public void setUrl(String url)
-
getUrl
public String getUrl()
-
setCookies
public void setCookies(Variable cookies)
-
isSslEnabled
public boolean isSslEnabled()
-
getSslAlgorithm
public String getSslAlgorithm()
-
getSslKeyStore
public String getSslKeyStore()
-
getSslKeyStorePassword
public String getSslKeyStorePassword()
-
getSslKeyStoreType
public String getSslKeyStoreType()
-
getSslTrustStore
public String getSslTrustStore()
-
getSslTrustStorePassword
public String getSslTrustStorePassword()
-
getSslTrustStoreType
public String getSslTrustStoreType()
-
isSslTrustAll
public boolean isSslTrustAll()
-
isFollowRedirects
public boolean isFollowRedirects()
-
getReadTimeout
public int getReadTimeout()
-
getConnectTimeout
public int getConnectTimeout()
-
getCharset
public Charset getCharset()
-
getProxyUri
public String getProxyUri()
-
getProxyUsername
public String getProxyUsername()
-
getProxyPassword
public String getProxyPassword()
-
getLocalAddress
public String getLocalAddress()
-
getHeaders
public Variable getHeaders()
-
getCookies
public Variable getCookies()
-
getResponseHeaders
public Variable getResponseHeaders()
-
getResponseDelay
public int getResponseDelay()
-
isXmlNamespaceAware
public boolean isXmlNamespaceAware()
-
isLowerCaseResponseHeaders
public boolean isLowerCaseResponseHeaders()
-
isCorsEnabled
public boolean isCorsEnabled()
-
isLogPrettyRequest
public boolean isLogPrettyRequest()
-
isLogPrettyResponse
public boolean isLogPrettyResponse()
-
isPrintEnabled
public boolean isPrintEnabled()
-
getAfterScenario
public Variable getAfterScenario()
-
setAfterScenario
public void setAfterScenario(Variable afterScenario)
-
getAfterFeature
public Variable getAfterFeature()
-
setAfterFeature
public void setAfterFeature(Variable afterFeature)
-
isShowLog
public boolean isShowLog()
-
setShowLog
public void setShowLog(boolean showLog)
-
isShowAllSteps
public boolean isShowAllSteps()
-
setShowAllSteps
public void setShowAllSteps(boolean showAllSteps)
-
getRetryInterval
public int getRetryInterval()
-
setRetryInterval
public void setRetryInterval(int retryInterval)
-
getRetryCount
public int getRetryCount()
-
setRetryCount
public void setRetryCount(int retryCount)
-
isPauseIfNotPerf
public boolean isPauseIfNotPerf()
-
isAbortedStepsShouldPass
public boolean isAbortedStepsShouldPass()
-
getDriverTarget
public Target getDriverTarget()
-
setDriverTarget
public void setDriverTarget(Target driverTarget)
-
getLogModifier
public HttpLogModifier getLogModifier()
-
getCallSingleCacheDir
public String getCallSingleCacheDir()
-
getCallSingleCacheMinutes
public int getCallSingleCacheMinutes()
-
setContinueOnStepFailureMethods
public void setContinueOnStepFailureMethods(List<Method> continueOnStepFailureMethods)
-
isContinueAfterContinueOnStepFailure
public boolean isContinueAfterContinueOnStepFailure()
-
setContinueAfterContinueOnStepFailure
public void setContinueAfterContinueOnStepFailure(boolean continueAfterContinueOnStepFailure)
-
setAbortSuiteOnFailure
public void setAbortSuiteOnFailure(boolean abortSuiteOnFailure)
-
isAbortSuiteOnFailure
public boolean isAbortSuiteOnFailure()
-
-