Update ContractVerifierExtension.java

This commit is contained in:
Marcin Grzejszczak
2020-03-04 11:07:55 +01:00
committed by GitHub
parent e2ed1cf34d
commit e99f654e4c

View File

@@ -164,7 +164,6 @@ public class ContractVerifierExtension implements Serializable {
/**
* The path in the JAR with all the contracts where contracts for this particular service lay.
* If not provided will be resolved to {@code groupid/artifactid}. Example:
* <p></p>
* If {@code groupid} is {@code com.example} and {@code artifactid} is {@code service} then the resolved path will be
* {@code /com/example/artifactid}
*/
@@ -187,11 +186,8 @@ public class ContractVerifierExtension implements Serializable {
/**
* A way to override any base class mappings. The keys are regular expressions on the package name
* and the values FQN to a base class for that given expression.
* <p></p>
* Example of a mapping
* <p></p>
* {@code .*.com.example.v1..*} -> {@code com.example.SomeBaseClass}
* <p></p>
* When a contract's package matches the provided regular expression then extending class will be the one
* provided in the map - in this case {@code com.example.SomeBaseClass}
*/
@@ -805,4 +801,4 @@ public class ContractVerifierExtension implements Serializable {
'}';
}
}
}
}