Class StubRunnerOptions
- java.lang.Object
-
- org.springframework.cloud.contract.stubrunner.StubRunnerOptions
-
public class StubRunnerOptions extends Object
Technical options related to running StubRunner UseStubRunnerOptionsBuilderto build this object.- Author:
- Marcin Grzejszczak, EddĂș MelĂ©ndez
- See Also:
StubRunnerOptionsBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStubRunnerOptions.StubRunnerProxyOptionsOptions for a proxy.
-
Method Summary
-
-
-
Method Detail
-
fromSystemProps
public static StubRunnerOptions fromSystemProps()
-
port
public Integer port(StubConfiguration stubConfiguration)
-
getMinPortValue
public Integer getMinPortValue()
-
getMaxPortValue
public Integer getMaxPortValue()
-
getDependencies
public Collection<StubConfiguration> getDependencies()
-
getStubIdsToPortMapping
public Map<StubConfiguration,Integer> getStubIdsToPortMapping()
-
getStubRepositoryRoot
public org.springframework.core.io.Resource getStubRepositoryRoot()
-
getStubRepositoryRootAsString
public String getStubRepositoryRootAsString()
-
getStubsMode
public StubRunnerProperties.StubsMode getStubsMode()
-
getStubsClassifier
public String getStubsClassifier()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
getStubRunnerProxyOptions
public StubRunnerOptions.StubRunnerProxyOptions getStubRunnerProxyOptions()
-
getProxyOptions
public StubRunnerOptions.StubRunnerProxyOptions getProxyOptions()
-
isStubsPerConsumer
public boolean isStubsPerConsumer()
-
getConsumerName
public String getConsumerName()
-
hasMappingsOutputFolder
public boolean hasMappingsOutputFolder()
-
getMappingsOutputFolder
public String getMappingsOutputFolder()
-
isDeleteStubsAfterTest
public boolean isDeleteStubsAfterTest()
-
isGenerateStubs
public boolean isGenerateStubs()
-
isFailOnNoStubs
public boolean isFailOnNoStubs()
-
getServerId
public String getServerId()
-
getHttpServerStubConfigurer
public Class<? extends HttpServerStubConfigurer> getHttpServerStubConfigurer()
-
-