Skip navigation links
A 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.

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.exception.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.

D

DEFAULT - Static variable in interface yakworks.problem.spi.StackTraceProcessor
 
detail(String) - Method in interface yakworks.problem.IProblem.Fluent
 

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.exception
An extension of the IProblem interface for problems that extend Exception.

G

get() - Method in interface yakworks.api.Result
get the value of the payload, keeps api similiar to Optional.
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.data.ProblemType
the code
getCode() - Method in interface yakworks.problem.Violation
 
getDefaultCode() - Method in interface yakworks.api.Result
 
getDetail() - Method in interface yakworks.problem.IProblem
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
 
getInstanceURI() - Method in interface yakworks.problem.IProblem
An absolute URI that identifies the specific occurrence of the problem.
getMessage() - Method in exception yakworks.problem.exception.NestedProblemException
Return the detail message, including the message from the nested exception if there is one.
getMessage() - Method in interface yakworks.problem.Violation
 
getMostSpecificCause() - Method in exception yakworks.problem.exception.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.IProblem
 
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.IProblem
 
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.exception.NestedExceptionUtils
Retrieve the innermost cause of the given exception Returns the original passed in exception if there is no root cause so this alway returns something.
getRootCause() - Method in exception yakworks.problem.exception.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.IProblem
An absolute URI that identifies the problem type.
getValue() - Method in interface yakworks.api.Result
alias to payload
getViolations() - Method in interface yakworks.problem.IProblem
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.
IProblem - Interface in yakworks.problem
Simple interface for problem getters
IProblem.Fluent<E extends IProblem.Fluent> - Interface in yakworks.problem
 
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.
msg(MsgKey) - Method in interface yakworks.api.Result.Fluent
 
msg(String) - Method in interface yakworks.api.Result.Fluent
 
msg(String, Object) - Method in interface yakworks.api.Result.Fluent
 

N

NestedExceptionUtils - Class in yakworks.problem.exception
Helper class for implementing exception classes which are capable of holding nested exceptions.
NestedExceptionUtils() - Constructor for class yakworks.problem.exception.NestedExceptionUtils
 
NestedProblemException - Exception in yakworks.problem.exception
Handy class for wrapping runtime Exceptions with a root cause.
NestedProblemException() - Constructor for exception yakworks.problem.exception.NestedProblemException
 
NestedProblemException(String) - Constructor for exception yakworks.problem.exception.NestedProblemException
Construct a NestedRuntimeException with the specified detail message.
NestedProblemException(Throwable) - Constructor for exception yakworks.problem.exception.NestedProblemException
 
NestedProblemException(String, Throwable) - Constructor for exception yakworks.problem.exception.NestedProblemException
Construct a NestedRuntimeException with the specified detail message and nested exception.
NestedProblemException(String, Throwable, boolean, boolean) - Constructor for exception yakworks.problem.exception.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(String, Object) - Static method in interface yakworks.api.Result
 
of(Object) - Static method in interface yakworks.api.Result
java.util.Optional api consitency.
ofCode(String) - Static method in interface yakworks.api.Result
 
OK() - Static method in interface yakworks.api.Result
 

P

payload(Object) - Method in interface yakworks.api.Result.Fluent
 
PRIMITIVE_TYPE_COMPATIBLE_CLASSES - Static variable in class yakworks.commons.lang.ReflectionUtils
 
ProblemType - Interface in yakworks.problem.data
Base interface for statuses.
process(Collection<StackTraceElement>) - Method in interface yakworks.problem.spi.StackTraceProcessor
 
propagate() - Method in interface yakworks.problem.exception.Exceptional
 
propagateAs(Class<X>) - Method in interface yakworks.problem.exception.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.
Result.Fluent<E extends Result.Fluent> - Interface in yakworks.api
 

S

setDetail(String) - Method in interface yakworks.problem.IProblem
 
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.IProblem
 
setViolations(List<Violation>) - Method in interface yakworks.problem.IProblem
 
StackTraceProcessor - Interface in yakworks.problem.spi
 
status(ApiStatus) - Method in interface yakworks.api.Result.Fluent
 
status(Integer) - Method in interface yakworks.api.Result.Fluent
 
subSequence(int, int) - Method in enum yakworks.api.HttpStatus
 

T

title(String) - Method in interface yakworks.api.Result.Fluent
 
toString() - Method in enum yakworks.api.HttpStatus
 
type(URI) - Method in interface yakworks.problem.IProblem.Fluent
 
type(String) - Method in interface yakworks.problem.IProblem.Fluent
 

V

value(Object) - Method in interface yakworks.api.Result.Fluent
 
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
 
violations(List<Violation>) - Method in interface yakworks.problem.IProblem.Fluent
 

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.data - package yakworks.problem.data
 
yakworks.problem.exception - package yakworks.problem.exception
 
yakworks.problem.spi - package yakworks.problem.spi
 
A C D E G H I L M N O P R S T V Y 
Skip navigation links