Skip navigation links
A B C D E G H I L M N O P R S T V Y 

A

ApiStatus - Interface in yakworks.api
Base interface for statuses.

B

builder() - Static method in interface yakworks.problem.Problem
Optional, additional attributes of the problem.
buildMessage(String, Throwable) - Static method in class yakworks.problem.NestedExceptionUtils
Build a message for the given base message and root cause.

C

charAt(int) - Method in enum yakworks.api.HttpStatus
 
COMPOUND - Static variable in interface yakworks.problem.spi.StackTraceProcessor
 
contains(Class<?>) - Method in exception yakworks.problem.NestedProblemException
Check whether this exception contains an exception of the given type: either it is of the given class itself or it contains a nested cause of the given type.
create() - Static method in interface yakworks.problem.Problem
 

D

DEFAULT - Static variable in interface yakworks.problem.spi.StackTraceProcessor
 
DEFAULT_TYPE - Static variable in interface yakworks.problem.Problem
 

E

EnumUtils - Class in yakworks.commons.lang
Utility library to provide helper methods for Java enums.
EnumUtils() - Constructor for class yakworks.commons.lang.EnumUtils
This constructor is public to permit tools that require a JavaBean instance to operate.
Exceptional - Interface in yakworks.problem
An extension of the Problem interface for problems that extend Exception.

G

getCode() - Method in interface yakworks.api.ApiStatus
Get the associated status code.
getCode() - Method in enum yakworks.api.HttpStatus
 
getCode() - Method in interface yakworks.problem.Violation
 
getDefaultCode() - Method in interface yakworks.api.Result
 
getDetail() - Method in interface yakworks.problem.Problem
A human readable explanation specific to this occurrence of the problem.
getEnum(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
Gets the enum for the class, returning null if not found.
getEnum(Class<E>, String, E) - Static method in class yakworks.commons.lang.EnumUtils
Gets the enum for the class, returning defaultEnum if not found.
getEnumIgnoreCase(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
Gets the enum for the class, returning null if not found.
getEnumIgnoreCase(Class<E>, String, E) - Static method in class yakworks.commons.lang.EnumUtils
Gets the enum for the class, returning defaultEnum if not found.
getEnumList(Class<E>) - Static method in class yakworks.commons.lang.EnumUtils
Gets the List of enums.
getEnumMap(Class<E>) - Static method in class yakworks.commons.lang.EnumUtils
Gets the Map of enums by name.
getField() - Method in interface yakworks.problem.Violation
 
getInstance() - Method in interface yakworks.problem.Problem
An absolute URI that identifies the specific occurrence of the problem.
getMessage() - Method in interface yakworks.problem.Violation
 
getMostSpecificCause(Throwable) - Static method in class yakworks.problem.NestedExceptionUtils
Retrieve the most specific cause of the given exception, that is, either the innermost cause (root cause) or the exception itself.
getMostSpecificCause() - Method in exception yakworks.problem.NestedProblemException
Retrieve the most specific cause of this exception, that is, either the innermost cause (root cause) or this exception itself.
getMsg() - Method in interface yakworks.problem.Problem
 
getMsg() - Method in interface yakworks.problem.Violation
 
getOk() - Method in interface yakworks.api.Result
success or fail? if ok is true then it still may mean that there are warnings and needs to be looked into
getOk() - Method in interface yakworks.problem.Problem
 
getPayload() - Method in interface yakworks.api.Result
the response object value or result of the method/function or process Implementations might choose to ignore this in favor of concrete, typed fields.
getReason() - Method in interface yakworks.api.ApiStatus
Get the reason phrase.
getReason() - Method in enum yakworks.api.HttpStatus
 
getRootCause(Throwable) - Static method in class yakworks.problem.NestedExceptionUtils
Retrieve the innermost cause of the given exception, if any.
getRootCause() - Method in exception yakworks.problem.NestedProblemException
Retrieve the innermost cause of this exception, if any.
getStatus() - Method in interface yakworks.api.Result
status code, normally an HttpStatus.value()
getTitle() - Method in interface yakworks.api.Result
A short, human-readable summary of the result type.
getType() - Method in interface yakworks.problem.Problem
An absolute URI that identifies the problem type.
getViolations() - Method in interface yakworks.problem.Problem
The list of constraint violations or any others

H

HttpStatus - Enum in yakworks.api
While these are HttpStatus code they seve well for general purpose Api codes Copied in from micronaut.

I

IdEqualsHashCode - Annotation Type in yakworks.commons.transform
Equals and hash code annotation for Gorm and JPA entites when you want it based on id.
isAssignableFrom(Class<?>, Class<?>) - Static method in class yakworks.commons.lang.ReflectionUtils
Tests whether or not the left hand type is compatible with the right hand type in Groovy terms, i.e.
isGetter(String, Class<?>[]) - Static method in class yakworks.commons.lang.ReflectionUtils
Returns true if the name of the method specified and the number of arguments make it a javabean property
isSetter(String, Class[]) - Static method in class yakworks.commons.lang.ReflectionUtils
 
isValidEnum(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
Checks if the specified name is a valid enum for the class.
isValidEnumIgnoreCase(Class<E>, String) - Static method in class yakworks.commons.lang.EnumUtils
Checks if the specified name is a valid enum for the class.

L

length() - Method in enum yakworks.api.HttpStatus
 

M

makeAccessible(Field) - Static method in class yakworks.commons.lang.ReflectionUtils
Make the given field accessible, explicitly setting it accessible if necessary.
makeAccessible(Method) - Static method in class yakworks.commons.lang.ReflectionUtils
Make the given method accessible, explicitly setting it accessible if necessary.

N

NestedExceptionUtils - Class in yakworks.problem
Helper class for implementing exception classes which are capable of holding nested exceptions.
NestedExceptionUtils() - Constructor for class yakworks.problem.NestedExceptionUtils
 
NestedProblemException - Exception in yakworks.problem
Handy class for wrapping runtime Exceptions with a root cause.
NestedProblemException(String) - Constructor for exception yakworks.problem.NestedProblemException
Construct a NestedRuntimeException with the specified detail message.
NestedProblemException(Throwable) - Constructor for exception yakworks.problem.NestedProblemException
 
NestedProblemException(String, Throwable) - Constructor for exception yakworks.problem.NestedProblemException
Construct a NestedRuntimeException with the specified detail message and nested exception.
NestedProblemException(String, Throwable, boolean, boolean) - Constructor for exception yakworks.problem.NestedProblemException
Constructs a new runtime exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.

O

of(ApiStatus) - Static method in interface yakworks.problem.Problem
 
of(ApiStatus, String) - Static method in interface yakworks.problem.Problem
 
of(MsgKey) - Static method in interface yakworks.problem.Problem
 
of(String, Object) - Static method in interface yakworks.problem.Problem
 
OK() - Static method in interface yakworks.api.Result
 

P

PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Static variable in class yakworks.commons.lang.ReflectionUtils
 
Problem - Interface in yakworks.problem
Problem instances are required to be immutable.
process(Collection<StackTraceElement>) - Method in interface yakworks.problem.spi.StackTraceProcessor
 
propagate() - Method in interface yakworks.problem.Exceptional
 
propagateAs(Class<X>) - Method in interface yakworks.problem.Exceptional
 

R

ReflectionUtils - Class in yakworks.commons.lang
Provides methods to help with reflective operations
ReflectionUtils() - Constructor for class yakworks.commons.lang.ReflectionUtils
 
Result - Interface in yakworks.api
This is the base result trait for problems and results follows https://datatracker.ietf.org/doc/html/rfc7807 for status and title fields In many cases for parallel processing and batch processing we are spinning through chunks of data.

S

setDetail(String) - Method in interface yakworks.problem.Problem
 
setPayload(Object) - Method in interface yakworks.api.Result
 
setStatus(ApiStatus) - Method in interface yakworks.api.Result
 
setTitle(String) - Method in interface yakworks.api.Result
 
setType(URI) - Method in interface yakworks.problem.Problem
 
setViolations(List<Violation>) - Method in interface yakworks.problem.Problem
 
StackTraceProcessor - Interface in yakworks.problem.spi
 
subSequence(int, int) - Method in enum yakworks.api.HttpStatus
 

T

toString() - Method in enum yakworks.api.HttpStatus
 

V

valueOf(String) - Static method in enum yakworks.api.HttpStatus
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum yakworks.api.HttpStatus
The status for the given code.
values() - Static method in enum yakworks.api.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.
Violation - Interface in yakworks.problem
 

Y

yakworks.api - package yakworks.api
 
yakworks.commons.lang - package yakworks.commons.lang
 
yakworks.commons.transform - package yakworks.commons.transform
 
yakworks.problem - package yakworks.problem
 
yakworks.problem.spi - package yakworks.problem.spi
 
A B C D E G H I L M N O P R S T V Y 
Skip navigation links