-
- All Implemented Interfaces:
-
mu.KLoggable
public class ProviderUtils extends KLogging
Common provider utils
-
-
Field Summary
Fields Modifier and Type Field Description private final KLogger
logger
public final static ProviderUtils
INSTANCE
-
Method Summary
Modifier and Type Method Description final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType, List<String> packagesToScan, List<String> pactFileAuthentication)
final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType, List<String> packagesToScan)
final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType)
final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody)
final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange)
final static List<IConsumerInfo>
loadPactFiles(IProviderInfo provider, File pactFileDir)
final Boolean
pactFileExists(FileSource pactFile)
final static PactVerification
verificationType(IProviderInfo provider, IConsumerInfo consumer)
final static List<String>
packagesToScan(IProviderInfo providerInfo, IConsumerInfo consumer)
final Boolean
isS3Url(Object pactFile)
final static <T extends Annotation> T
findAnnotation(Class<?> clazz, Class<T> annotation)
final static List<Pair<PactSource, Annotation>>
findAllPactSources(KClass<?> clazz)
final PactLoader
instantiatePactLoader(PactSource pactSource, Class<?> clazz, Annotation annotation)
KLogger
getLogger()
-
-
Method Detail
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType, List<String> packagesToScan, List<String> pactFileAuthentication)
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType, List<String> packagesToScan)
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody, PactVerification verificationType)
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange, Boolean stateChangeUsesBody)
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir, Object stateChange)
-
loadPactFiles
@JvmOverloads() final static List<IConsumerInfo> loadPactFiles(IProviderInfo provider, File pactFileDir)
-
pactFileExists
final Boolean pactFileExists(FileSource pactFile)
-
verificationType
final static PactVerification verificationType(IProviderInfo provider, IConsumerInfo consumer)
-
packagesToScan
final static List<String> packagesToScan(IProviderInfo providerInfo, IConsumerInfo consumer)
-
findAnnotation
final static <T extends Annotation> T findAnnotation(Class<?> clazz, Class<T> annotation)
-
findAllPactSources
final static List<Pair<PactSource, Annotation>> findAllPactSources(KClass<?> clazz)
-
instantiatePactLoader
final PactLoader instantiatePactLoader(PactSource pactSource, Class<?> clazz, Annotation annotation)
-
getLogger
KLogger getLogger()
-
-
-
-