Class StubRunnerOptions

java.lang.Object
org.springframework.cloud.contract.stubrunner.StubRunnerOptions

public class StubRunnerOptions extends Object
Technical options related to running StubRunner Use StubRunnerOptionsBuilder to build this object.
Author:
Marcin Grzejszczak, EddĂș MelĂ©ndez
See Also:
  • Method Details

    • 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()
    • getProperties

      public Map<String,String> getProperties()
    • getServerId

      public String getServerId()
    • getHttpServerStubConfigurer

      public Class<? extends HttpServerStubConfigurer> getHttpServerStubConfigurer()
    • toString

      public String toString()
      Overrides:
      toString in class Object