Skip navigation links
A C E F G H I K M N O P R S T U V Z 

A

and($receiver, result) - Static method in class au.com.dius.pact.com.github.michaelbull.result.AndKt
Deprecated. 
and($receiver, result) - Static method in class au.com.dius.pact.com.github.michaelbull.result.AndKt
Returns result if this class Result is class Ok, otherwise this class Err.
AndKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
andThen($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.AndKt
Maps this class Result to class Result by either applying the transform function if this class Result is class Ok, or returning this class Err.
au.com.dius.pact.com.github.michaelbull.result - package au.com.dius.pact.com.github.michaelbull.result
 
au.com.dius.pact.support - package au.com.dius.pact.support
 
au.com.dius.pact.support.expressions - package au.com.dius.pact.support.expressions
 

C

combine(results) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Combines a vararg of class Result into a single class Result (holding a List).
combine($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Combines an Iterable of class Result into a single class Result (holding a List).
Companion - Static variable in class au.com.dius.pact.com.github.michaelbull.result.Result
 
component1() - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
 
component1() - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
 
component1() - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 
contains($receiver, other) - Static method in class au.com.dius.pact.support.KotlinLanguageSupportKt
 
containsExpressions(value) - Method in class au.com.dius.pact.support.expressions.ExpressionParser
 
copy(error) - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
Represents a failed class Result, containing an error.
copy(value) - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
Represents a successful class Result, containing a value.
copy(context) - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 

E

END_EXPRESSION - Static variable in class au.com.dius.pact.support.expressions.ExpressionParser
 
equals(p) - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
 
equals(p) - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
 
equals(p) - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 
Err<E> - Class in au.com.dius.pact.com.github.michaelbull.result
Represents a failed class Result, containing an error.
Err(error) - Constructor for class au.com.dius.pact.com.github.michaelbull.result.Err
Represents a failed class Result, containing an error.
expect($receiver, message) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Deprecated. 
expect($receiver, message) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Unwraps a class Result, yielding the value.
expectError($receiver, message) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Deprecated. 
expectError($receiver, message) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Unwraps a class Result, yielding the error.
ExpressionParser - Class in au.com.dius.pact.support.expressions
 

F

flatMap($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.MapKt
Maps this class Result to class Result by either applying the transform function if this class Result is class Ok, or returning this class Err.
fold($receiver, initial, operation) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Accumulates value starting with initial value and applying operation from left to right to current accumulator value and each element.
foldRight($receiver, initial, operation) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Accumulates value starting with initial value and applying operation from right to left to each element and current accumulator value.

G

get($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the value if this class Result is class Ok, otherwise null.
getAll(results) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Extracts from a vararg of class Result all the class Ok elements. All the class Ok elements are extracted in order.
getAll($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Extracts from an Iterable of class Result all the class Ok elements. All the class Ok elements are extracted in order.
getAllErrors(results) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Extracts from a vararg of class Result all the class Err elements. All the class Err elements are extracted in order.
getAllErrors($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Extracts from an Iterable of class Result all the class Err elements. All the class Err elements are extracted in order.
getContext() - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 
getDefaultValue() - Method in class au.com.dius.pact.support.expressions.SystemPropertyResolver.PropertyValueTuple
 
getError() - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
 
getError($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the error if this class Result is class Err, otherwise null.
getErrorOr($receiver, p) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Deprecated. 
getErrorOr($receiver, p) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the error if this class Result is class Err, otherwise default.
getErrorOrElse($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the error if this class Result is class Err, otherwise the transformation of the value.
GetKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
getOr($receiver, p) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Deprecated. 
getOr($receiver, p) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the value if this class Result is class Ok, otherwise default.
getOrElse($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.GetKt
Returns the value if this class Result is class Ok, otherwise the transformation of the error.
getPropertyName() - Method in class au.com.dius.pact.support.expressions.SystemPropertyResolver.PropertyValueTuple
 
getValue() - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
 

H

hashCode() - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
 
hashCode() - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
 
hashCode() - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 

I

INSTANCE - Static variable in class au.com.dius.pact.support.expressions.ExpressionParser
 
invoke() - Method in class au.com.dius.pact.support.expressions.SystemPropertyResolver.PropertyValueTuple
 
isNotEmpty($receiver) - Static method in class au.com.dius.pact.support.KotlinLanguageSupportKt
 
IterableKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
iterator($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ResultIteratorKt
Returns an Iterator over the possibly contained value. The iterator yields one value if the class Result is class Ok, otherwise throws NoSuchElementException.

K

KotlinLanguageSupportKt - Class in au.com.dius.pact.support
 

M

map($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.MapKt
Maps this class Result to class Result by either applying the transform function to the value if this class Result is class Ok, or returning this class Err.
mapBoth($receiver, success, failure) - Static method in class au.com.dius.pact.com.github.michaelbull.result.MapKt
Maps this class Result to U by applying either the success function if this class Result is class Ok, or the failure function if this class Result is an class Err. Both of these functions must return the same type (U).
mapEither($receiver, success, failure) - Static method in class au.com.dius.pact.com.github.michaelbull.result.MapKt
Maps this class Result to class Result by applying either the success function if this class Result is class Ok, or the failure function if this class Result is an class Err.
mapError($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.MapKt
Maps this class Result to class Result by either applying the transform function to the error if this class Result is class Err, or returning this class Ok.
MapKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
MapValueResolver - Class in au.com.dius.pact.support.expressions
 
MapValueResolver(context) - Constructor for class au.com.dius.pact.support.expressions.MapValueResolver
 
mutableIterator($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ResultIteratorKt
Returns a MutableIterator over the possibly contained value. The iterator yields one value if the class Result is class Ok, otherwise throws NoSuchElementException.

N

NonNullApi - Interface in au.com.dius.pact.support
 

O

of(function) - Method in class au.com.dius.pact.com.github.michaelbull.result.Result.Companion
Invokes a function and wraps it in a class Result, returning an class Err if an Exception was thrown, otherwise class Ok.
Ok<V> - Class in au.com.dius.pact.com.github.michaelbull.result
Represents a successful class Result, containing a value.
Ok(value) - Constructor for class au.com.dius.pact.com.github.michaelbull.result.Ok
Represents a successful class Result, containing a value.
onFailure($receiver, callback) - Static method in class au.com.dius.pact.com.github.michaelbull.result.OnKt
Invokes a callback if this class Result is class Err.
OnKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
onSuccess($receiver, callback) - Static method in class au.com.dius.pact.com.github.michaelbull.result.OnKt
Invokes a callback if this class Result is class Ok.
or($receiver, result) - Static method in class au.com.dius.pact.com.github.michaelbull.result.OrKt
Deprecated. 
or($receiver, result) - Static method in class au.com.dius.pact.com.github.michaelbull.result.OrKt
Returns result if this class Result is class Err, otherwise this class Ok.
orElse($receiver, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.OrKt
Returns the transformation of the error if this class Result is class Err, otherwise this class Ok.
OrKt - Class in au.com.dius.pact.com.github.michaelbull.result
 

P

parseExpression(value, valueResolver) - Static method in class au.com.dius.pact.support.expressions.ExpressionParser
 
parseExpression(value) - Static method in class au.com.dius.pact.support.expressions.ExpressionParser
 
parseListExpression(value, valueResolver) - Static method in class au.com.dius.pact.support.expressions.ExpressionParser
 
parseListExpression(value) - Static method in class au.com.dius.pact.support.expressions.ExpressionParser
 
partition(results) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Partitions a vararg of class Result into a Pair of Lists. All the class Ok elements are extracted, in order, to the first value. Similarly the class Err elements are extracted to the Pair.second value.
partition($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.IterableKt
Partitions an Iterable of class Result into a Pair of Lists. All the class Ok elements are extracted, in order, to the first value. Similarly the class Err elements are extracted to the Pair.second value.
propertyDefined(property) - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 
propertyDefined(property) - Method in class au.com.dius.pact.support.expressions.SystemPropertyResolver
 
propertyDefined(property) - Method in interface au.com.dius.pact.support.expressions.ValueResolver
 
PropertyValueTuple(property) - Constructor for class au.com.dius.pact.support.expressions.SystemPropertyResolver.PropertyValueTuple
 

R

resolveValue(property) - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 
resolveValue(property) - Method in class au.com.dius.pact.support.expressions.SystemPropertyResolver
 
resolveValue(property) - Method in interface au.com.dius.pact.support.expressions.ValueResolver
 
Result<V,E> - Class in au.com.dius.pact.com.github.michaelbull.result
class Result is a type that represents either success (class Ok) or failure (class Err).
Result.Companion - Class in au.com.dius.pact.com.github.michaelbull.result
 
ResultIteratorKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
ResultKt - Class in au.com.dius.pact.com.github.michaelbull.result
 

S

START_EXPRESSION - Static variable in class au.com.dius.pact.support.expressions.ExpressionParser
 
SystemPropertyResolver - Class in au.com.dius.pact.support.expressions
 
SystemPropertyResolver() - Constructor for class au.com.dius.pact.support.expressions.SystemPropertyResolver
 
SystemPropertyResolver.PropertyValueTuple - Class in au.com.dius.pact.support.expressions
 

T

toResultOr($receiver, error) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ResultKt
Converts a nullable of type V to a class Result. Returns class Ok if the value is non-null, otherwise the supplied error.
toString() - Method in class au.com.dius.pact.com.github.michaelbull.result.Err
 
toString() - Method in class au.com.dius.pact.com.github.michaelbull.result.Ok
 
toString() - Method in class au.com.dius.pact.support.expressions.MapValueResolver
 

U

unwrap($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Unwraps a class Result, yielding the value.
unwrapError($receiver) - Static method in class au.com.dius.pact.com.github.michaelbull.result.UnwrapKt
Unwraps a class Result, yielding the error.
UnwrapException - Exception in au.com.dius.pact.com.github.michaelbull.result
 
UnwrapException(message) - Constructor for exception au.com.dius.pact.com.github.michaelbull.result.UnwrapException
 
UnwrapKt - Class in au.com.dius.pact.com.github.michaelbull.result
 

V

ValueResolver - Interface in au.com.dius.pact.support.expressions
 
VALUES_SEPARATOR - Static variable in class au.com.dius.pact.support.expressions.ExpressionParser
 

Z

zip(result1, result2, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ZipKt
Apply a transformation to two class Result, if both class Result are class Ok. If not, the first argument which is an class Err will propagate through.
zip(result1, result2, result3, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ZipKt
Apply a transformation to three class Result, if all class Result are class Ok. If not, the first argument which is an class Err will propagate through.
zip(result1, result2, result3, result4, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ZipKt
Apply a transformation to four class Result, if all class Result are class Ok. If not, the first argument which is an class Err will propagate through.
zip(result1, result2, result3, result4, result5, transform) - Static method in class au.com.dius.pact.com.github.michaelbull.result.ZipKt
Apply a transformation to five class Result, if all class Result are class Ok. If not, the first argument which is an class Err will propagate through.
ZipKt - Class in au.com.dius.pact.com.github.michaelbull.result
 
A C E F G H I K M N O P R S T U V Z 
Skip navigation links