Package au.com.dius.pact.provider.maven
Class Branch
-
- All Implemented Interfaces:
public class Branch extends BaseSelector
The latest version from a particular branch of each consumer, or for a particular consumer if the second parameter is provided. If fallback is provided, falling back to the fallback branch if none is found from the specified branch.
-
-
Constructor Summary
Constructors Constructor Description Branch()
-
Method Summary
Modifier and Type Method Description final String
getName()
final Unit
setName(String name)
final String
getConsumer()
final Unit
setConsumer(String consumer)
final String
getFallback()
final Unit
setFallback(String fallback)
ConsumerVersionSelectors
toSelector()
String
toString()
-
-
Method Detail
-
getConsumer
final String getConsumer()
-
setConsumer
final Unit setConsumer(String consumer)
-
getFallback
final String getFallback()
-
setFallback
final Unit setFallback(String fallback)
-
toSelector
ConsumerVersionSelectors toSelector()
-
-
-
-