Index

A C D E G I J M O P S T W 
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte

A

add(Exception) - Methode in Klasse de.srsoftware.tools.container.Error
add an exception to this Error object
addData(Object...) - Methode in Klasse de.srsoftware.tools.container.Error
Add values to the data map

C

Container<Content> - Schnittstelle in de.srsoftware.tools.container
This interface can be used as a result type for functions that may return something or an error.

D

data() - Methode in Klasse de.srsoftware.tools.container.Error
return the data map
DATA - Statische Variable in Klasse de.srsoftware.tools.container.Error
data
de.srsoftware.tools.container - Package de.srsoftware.tools.container
 

E

error(Exception, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
error(String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
error(Collection<Exception>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
error(Map<String, Object>, Exception, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
error(Map<String, Object>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
error(Map<String, Object>, Collection<Exception>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
Error<None> - Klasse in de.srsoftware.tools.container
This class may be returned by methods whose execution failed.
Error(String, Map<String, Object>, Collection<Exception>) - Konstruktor für Klasse de.srsoftware.tools.container.Error
create a new Error object carrying the passed message
exceptions() - Methode in Klasse de.srsoftware.tools.container.Error
get the collection of Exceptions added to this Error object
EXCEPTIONS - Statische Variable in Klasse de.srsoftware.tools.container.Error
exceptions

G

get() - Methode in Klasse de.srsoftware.tools.container.Payload
get the payload

I

isEmpty() - Methode in Schnittstelle de.srsoftware.tools.container.Container
checks whether the object returned by optional() is empty
isEmpty() - Methode in Klasse de.srsoftware.tools.container.Error
 

J

json() - Methode in Klasse de.srsoftware.tools.container.Error
Create a json object of the error.

M

map(Function<Container<Content>, T>) - Methode in Schnittstelle de.srsoftware.tools.container.Container
Transform this Result object to another via a mapping function.
message() - Methode in Klasse de.srsoftware.tools.container.Error
return the message encapsulated in this error object
MESSAGE - Statische Variable in Klasse de.srsoftware.tools.container.Error
message

O

of(P) - Statische Methode in Klasse de.srsoftware.tools.container.Payload
wrap a payload
optional() - Methode in Schnittstelle de.srsoftware.tools.container.Container
Create an Optional from a Result.
optional() - Methode in Klasse de.srsoftware.tools.container.Error
 
optional() - Methode in Klasse de.srsoftware.tools.container.Payload
 

P

Payload<Content> - Klasse in de.srsoftware.tools.container
A wrapper for results that carry an actual payload
Payload(Content) - Konstruktor für Klasse de.srsoftware.tools.container.Payload
Wrap a payload as a successful instance of Result

S

stream() - Methode in Schnittstelle de.srsoftware.tools.container.Container
Create a stream of the Payload.
stream() - Methode in Klasse de.srsoftware.tools.container.Error
 
stream() - Methode in Klasse de.srsoftware.tools.container.Payload
 
streamContained() - Methode in Schnittstelle de.srsoftware.tools.container.Container
Create a stream of the Payload.
streamContained() - Methode in Klasse de.srsoftware.tools.container.Error
 
streamContained() - Methode in Klasse de.srsoftware.tools.container.Payload
 

T

then(Function<Error<None>, T>) - Methode in Klasse de.srsoftware.tools.container.Error
map an error to another object
then(Function<Payload<Content>, T>) - Methode in Klasse de.srsoftware.tools.container.Payload
map a payload to another object
toString() - Methode in Klasse de.srsoftware.tools.container.Error
 
toString() - Methode in Klasse de.srsoftware.tools.container.Payload
 
transform() - Methode in Klasse de.srsoftware.tools.container.Error
create an Error with the same metadata content as this Object, but with different payload type
transform(Container<?>) - Statische Methode in Schnittstelle de.srsoftware.tools.container.Container
Transforms the Result to an Error with appropriate payload type

W

wrap() - Methode in Klasse de.srsoftware.tools.container.Error
Wrap an error object as Optional
A C D E G I J M O P S T W 
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte