public class MatcherConfig extends Object
| 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. |
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 MatcherConfig matcherConfig()
Copyright © 2010–2014. All rights reserved.