Configuration
The features here are all related to how WireMockConfiguration
instances are set up.
Keystore
caKeystoreType() argument completion
WireMockConfiguration#caKeystoreType()
under the hood uses this type to create java.security.KeyStore
s via various means.
This code completion supplies keystore type values upon invoking the code completion list based on the list provided by the Java Security Standard Algorithm Names – KeyStore types documentation.
Extensions
Extension implementations in WireMock must implement the com.github.tomakehurst.wiremock.extension.Extension
interface.
Then, when configuring WireMockConfiguration
with said extensions, these are the ones accepted by the WireMockConfiguration#extensions()
method.
extensions() code completion and reference
To simplify code completion, only classes that satisfy the following criteria are shown when completing String arguments in extensions()
:
- implement
com.github.tomakehurst.wiremock.extension.Extension
- not interfaces and not abstract classes
- not anonymous classes
In addition to this, the fully qualified name resolves to the referenced Java class, and can be navigate to via Ctrl+click and similar actions.
extensions() criteria inspections
String arguments of extensions()
are validated and reported if they do not implement the aforementioned Extensions
interface.
If the specified fully qualified name is a valid identifier, but for some reason the actual class cannot be located in the project or in the project libraries, no issue is reported.