public static class ConsumerVersionSelectors.Branch
extends ConsumerVersionSelectors
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.
@JvmOverloads
public Branch(@NotNull
java.lang.String name,
@Nullable
java.lang.String consumer,
@Nullable
java.lang.String fallback)
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.
@JvmOverloads
public Branch(@NotNull
java.lang.String name,
@Nullable
java.lang.String consumer)
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.
@JvmOverloads
public Branch(@NotNull
java.lang.String name)
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.
@NotNull public java.lang.String getName()
@Nullable public java.lang.String getConsumer()
@Nullable public java.lang.String getFallback()
@NotNull public java.lang.String component1()
@Nullable public java.lang.String component2()
@Nullable public java.lang.String component3()
@NotNull
public au.com.dius.pact.core.pactbroker.ConsumerVersionSelectors.Branch copy(@NotNull
java.lang.String name,
@Nullable
java.lang.String consumer,
@Nullable
java.lang.String fallback)
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.
@NotNull public java.lang.String toString()
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.
public int hashCode()
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.
public boolean equals(@Nullable
java.lang.Object p)
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.