Modifier and Type | Class and Description |
---|---|
static class |
MatcherConfig.ErrorDescriptionType
Represents the different error description types available in REST Assured.
|
Constructor and Description |
---|
MatcherConfig()
Creates a new instance of
MatcherConfig that uses MatcherConfig.ErrorDescriptionType.REST_ASSURED as
error description type. |
MatcherConfig(MatcherConfig.ErrorDescriptionType errorDescriptionType)
Creates a new instance of
MatcherConfig that uses the supplied errorDescriptionType as
error description type. |
Modifier and Type | Method and Description |
---|---|
MatcherConfig.ErrorDescriptionType |
errorDescriptionType() |
MatcherConfig |
errorDescriptionType(MatcherConfig.ErrorDescriptionType errorDescriptionType) |
boolean |
hasErrorDescriptionType(MatcherConfig.ErrorDescriptionType errorDescriptionType)
Returns
true if this config has the supplied errorDescriptionType , false otherwise. |
boolean |
isUserConfigured() |
static MatcherConfig |
matcherConfig() |
public MatcherConfig()
MatcherConfig
that uses MatcherConfig.ErrorDescriptionType.REST_ASSURED
as
error description type.public MatcherConfig(MatcherConfig.ErrorDescriptionType errorDescriptionType)
MatcherConfig
that uses the supplied errorDescriptionType
as
error description type.errorDescriptionType
- The error description type to use.public MatcherConfig errorDescriptionType(MatcherConfig.ErrorDescriptionType errorDescriptionType)
errorDescriptionType
- The error description type to use.public MatcherConfig.ErrorDescriptionType errorDescriptionType()
public boolean hasErrorDescriptionType(MatcherConfig.ErrorDescriptionType errorDescriptionType)
true
if this config has the supplied errorDescriptionType
, false
otherwise.errorDescriptionType
- The error description type to check for.true
if this config has the supplied errorDescriptionType
, false
otherwise.public boolean isUserConfigured()
isUserConfigured
in interface Config
true
if this config instance has been explicitly configured by the user, false
if it has the default values.public static MatcherConfig matcherConfig()
Copyright © 2010–2019. All rights reserved.