Uses of Annotation Interface
jp.ecuacion.lib.core.annotation.RequireNonnull
Packages that use RequireNonnull
Package
Description
Provides Exceptions.
Provides several RuntimeExceptions.
Provides several kinds of loggers.
Provides utilities used in wide situations.
-
Uses of RequireNonnull in jp.ecuacion.lib.core.exception.checked
Method parameters in jp.ecuacion.lib.core.exception.checked with annotations of type RequireNonnullModifier and TypeMethodDescriptionAppWarningException.itemPropertyPaths(String[] itemPropertyPaths) Sets itemPropertyPaths and return this instance to realize the method chain.Constructor parameters in jp.ecuacion.lib.core.exception.checked with annotations of type RequireNonnullModifierConstructorDescriptionAppWarningException(String[] itemPropertyPaths, String messageId, String... messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.AppWarningException(String[] itemPropertyPaths, String messageId, String... messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.AppWarningException(String[] itemPropertyPaths, String messageId, String... messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.AppWarningException(String messageId, String... messageArgs) Constructs a new instance withmessageIdandmessageArgs.AppWarningException(String messageId, String... messageArgs) Constructs a new instance withmessageIdandmessageArgs.BizLogicAppException(String[] itemPropertyPaths, String messageId, String... messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.BizLogicAppException(String[] itemPropertyPaths, String messageId, String... messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.BizLogicAppException(String[] itemPropertyPaths, String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withitemPropertyPaths,messageIdandmessageArgs.BizLogicAppException(String messageId, String... messageArgs) Constructs a new instance withmessageIdandmessageArgs.BizLogicAppException(String messageId, String... messageArgs) Constructs a new instance withmessageIdandmessageArgs.BizLogicAppException(String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withmessageIdandmessageArgs.BizLogicAppException(String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withmessageIdandmessageArgs.ValidationAppException(jakarta.validation.ConstraintViolation<?> violation) Constructs a new instance with Jakarta Validation violation.Constructs a new instance withBeanValidationErrorInfoBean. -
Uses of RequireNonnull in jp.ecuacion.lib.core.exception.unchecked
Constructor parameters in jp.ecuacion.lib.core.exception.unchecked with annotations of type RequireNonnullModifierConstructorDescriptionEclibRuntimeException(String message) Constructs a new instance withmassage.EclibRuntimeException(String message, Throwable cause) Constructs a new instance withmassageandcause.EclibRuntimeException(Throwable cause) Constructs a new instance withcause. -
Uses of RequireNonnull in jp.ecuacion.lib.core.logging
Method parameters in jp.ecuacion.lib.core.logging with annotations of type RequireNonnullModifier and TypeMethodDescriptionvoidLogs message with "debug" loglevel.voidLogs message with "debug" loglevel.voidLogs message with "error" loglevel.voidLogs error.voidLogs error.voidLogs message with "error" loglevel.voidLogs message with "error" loglevel.voidLogs message with "info" loglevel.voidLogs message with "info" loglevel.voidLogs message with "info" loglevel.voidErrorLogger.logSystemError(Throwable throwable) Logs system error.voidErrorLogger.logSystemError(Throwable throwable, String additionalMessage) Logs system error.voidLogs message with "trace" loglevel.voidLogs message with "trace" loglevel.voidLogs message with "warn" loglevel.voidLogs exception message with "error" loglevel.voidLogs message with "warn" loglevel.voidLogs message with "warn" loglevel.Constructor parameters in jp.ecuacion.lib.core.logging with annotations of type RequireNonnullModifierConstructorDescriptionDetailLogger(Class<?> cls) Constructs a new instance with a caller class.DetailLogger(Object object) Constructs a new instance with a caller instance. -
Uses of RequireNonnull in jp.ecuacion.lib.core.util
Method parameters in jp.ecuacion.lib.core.util with annotations of type RequireNonnullModifier and TypeMethodDescriptionstatic voidPropertyFileUtil.addResourceBundlePostfix(String postfix) Adds postfix dinamically.static StringFileUtil.cleanPathStrWithSlash(String path) Cleans a path string.static booleanFileUtil.containsWildCard(String path) Returns true if the argument path contains wildcard strings.static StringStringUtil.escapeHtml(String str) Returns html-escaped strings.static StringReturns the property value of default locale.static StringReturns the property value of default locale.static StringReturns the localized property value.static StringReturns the localized property value.static StringReturns the localized property value.static StringReturns the localized property value.static StringPropertyFileUtil.get(String propertyUtilFileKind, Locale locale, String key, PropertyFileUtil.Arg... args) Returns the localized property value.static StringPropertyFileUtil.get(String propertyUtilFileKind, Locale locale, String key, PropertyFileUtil.Arg... args) Returns the localized property value.ExceptionUtil.getAppExceptionMessageList(AppException appException, Locale locale) Returns listed SingleAppExceptions (= AppExceptions with messages).ExceptionUtil.getAppExceptionMessageList(AppException appException, Locale locale, boolean needsItemName) Returns listed SingleAppExceptions (= AppExceptions with messages).static StringPropertyFileUtil.getApplication(String key) Returns the value in application_xxx.properties.static StringPropertyFileUtil.getApplicationOrElse(String key, String defaultValue) Returns the value in application_xxx.properties if it exists.static StringStringUtil.getCsv(Collection<String> collection) Returns csv from list of string.static StringStringUtil.getCsvWithSpace(String[] array) Returns csv with spaces after commas from list of string.static StringStringUtil.getCsvWithSpace(Collection<String> collection) Returns csv with spaces after commas from list of string.static <T> TEnumUtil.getEnumFromCode(Class<T> enumClass, String code) Obtains the enum value from the code.static <T> TEnumUtil.getEnumFromCode(Class<T> enumClass, String code) Obtains the enum value from the code.static <T> EnumUtil.EnumClassInfo<T> EnumUtil.getEnumInfo(Class<T> enumClass) Returns enum class info.static <T> EnumUtil.EnumClassInfo<T> EnumUtil.getEnumInfo(Class<T> enumClass, Locale locale) Returns enum class info.static StringPropertyFileUtil.getEnumName(String key) Returns the enum name of default locale in enum_names_xxx.properties.static StringPropertyFileUtil.getEnumName(Locale locale, String key) Returns the localized enum name in enum_names_xxx.properties.static StringExceptionUtil.getErrLogString(Throwable throwable, String additionalMessage, Locale locale) Returns strings or error log.static StringExceptionUtil.getErrLogString(Throwable throwable, String additionalMessage, Locale locale, Integer packagesShown) Returns strings or error log.ExceptionUtil.getExceptionListWithMessages(Throwable throwable) Returns listed exceptions with messages.ExceptionUtil.getExceptionMessage(Throwable throwable, boolean needsDetails) Returns exception message for 1 exception.ExceptionUtil.getExceptionMessage(Throwable throwable, Locale locale, boolean needsDetails) Returns exception message for 1 exception.ExceptionUtil.getExceptionMessage(Throwable throwable, Locale locale, boolean needsDetails, boolean needsItemName) Returns exception message for 1 exception.static StringFileUtil.getFileNameFromFilePath(String path) Obtains filename from a path.static StringFileUtil.getFileSavableName(String origName) Changes argument filename into file-savable name.static StringFileUtil.getFileSizeInMb(Long fileSize) Returns file size in Megabyte.static StringFileUtil.getFileSizeInMbWithUnit(Long fileSize) Returns file size in Megabyte.static StringPropertyFileUtil.getItemName(String key) Returns the item name of default locale in item_names_xxx.properties.static StringPropertyFileUtil.getItemName(Locale locale, String key) Returns the localized item name in item_names_xxx.properties.EnumUtil.getListForHtmlSelect(Class<T> enumClass, Locale locale, String optionsString) Returns paires of a code and a display name.static LocalDateTimeDateTimeApiUtil.getLocalDateTime(String dateTimeString) Returns aLocalDateTimeinstance from date-time string.static StringDateTimeApiUtil.getLocalDateTimeDisplayString(LocalDateTime localDateTime) Returns user-friendly LocalDateTime format string :yyyy-MM-dd HH:mm:ss.static StringDateTimeApiUtil.getLocalDateTimeDisplayString(OffsetDateTime dateTime, ZoneId zoneId) Returns user-friendly LocalDateTime format string :yyyy-MM-dd HH:mm:ss.static StringFileUtil.getLockFileVersion(File lockFile) Obtains the last update timestamp string from the lock file.static StringStringUtil.getLowerCamelFromSnake(String snakeCaseString) Returns a lowerCamelCase string from a snake case string.static StringStringUtil.getLowerSnakeFromCamel(String camelCaseString) Returns a lowerSnakeCase string from a camel case string.static StringPropertyFileUtil.getMessage(String key, String... args) Returns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMessage(String key, String... args) Returns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMessage(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMessage(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMessage(Locale locale, String key, String... args) Returns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMessage(Locale locale, String key, String... args) Returns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMessage(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMessage(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(String key, String... args) Returns the value of default locale in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(String key, String... args) Returns the value of default locale in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(Locale locale, String key, String... args) Returns the localized value in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(Locale locale, String key, String... args) Returns the localized value in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getMessageWithItemName(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messagesWithItemNames_xxx.properties.static OffsetDateTimeDateTimeApiUtil.getOffsetDateTime(String dateTimeString) Returns aOffsetDateTimeinstance from date-time string.static StringDateTimeApiUtil.getOffsetDateTimeDisplayString(OffsetDateTime offsetDateTime, ZoneId zoneId) Returns user-friendly OffsetDateTime format string :yyyy-MM-dd HH:mm:ss +HH:mm.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Function<String, String> valueGetterFromKey) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Function<String, String> valueGetterFromKey) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Function<String, String> valueGetterFromKey, EmbeddedParameterUtil.Options options) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Function<String, String> valueGetterFromKey, EmbeddedParameterUtil.Options options) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Map<String, String> parameterMap) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Map<String, String> parameterMap) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Map<String, String> parameterMap, EmbeddedParameterUtil.Options options) Returns string with embedded parameters replaced.static StringEmbeddedParameterUtil.getParameterReplacedString(String string, String startSymbol, String endSymbol, Map<String, String> parameterMap, EmbeddedParameterUtil.Options options) Returns string with embedded parameters replaced.static StringFileUtil.getParentDirPath(String origPath) Changes the path separator to "/".EmbeddedParameterUtil.getPartList(String string, String[] startSymbols, String endSymbol) Divides the argument string into simple string and parameter parts and Returns list of them.EmbeddedParameterUtil.getPartList(String string, String[] startSymbols, String endSymbol) Divides the argument string into simple string and parameter parts and Returns list of them.EmbeddedParameterUtil.getPartList(String string, String[] startSymbols, String endSymbol, EmbeddedParameterUtil.Options options) Divides the argument string into simple string and parameter parts and Returns list of them.EmbeddedParameterUtil.getPartList(String string, String[] startSymbols, String endSymbol, EmbeddedParameterUtil.Options options) Divides the argument string into simple string and parameter parts and Returns list of them.FileUtil.getPathListFromPathWithWildcard(String path) Returns a list of paths which match the path passed by the argument path with wildcards.static StringStringUtil.getSeparatedValuesString(String[] array, String separator) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(String[] array, String separator) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(String[] array, String separator, String elementEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(String[] array, String separator, String elementEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(String[] array, String separator, String leftHandSideEnclosedBy, String rightHandSideEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(String[] array, String separator, String leftHandSideEnclosedBy, String rightHandSideEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator, String elementEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator, String elementEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator, String leftHandSideEnclosedBy, String rightHandSideEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static StringStringUtil.getSeparatedValuesString(Collection<String> collection, String separator, String leftHandSideEnclosedBy, String rightHandSideEnclosedBy, boolean firstElemnetUncapitalized) Returns String with values separated byseparator.static List<SingleAppException> ExceptionUtil.getSingleAppExceptionList(AppException appException) Returns listed SingleAppExceptions (= AppExceptions with messages).static StringReturns the value in string_xxx.properties.static StringReturns the value in string_xxx.properties.static StringPropertyFileUtil.getString(String key, PropertyFileUtil.Arg[] args) Returns the value in string_xxx.properties.static StringPropertyFileUtil.getString(String key, PropertyFileUtil.Arg[] args) Returns the value in string_xxx.properties.static StringPropertyFileUtil.getStringFromArg(Locale locale, PropertyFileUtil.Arg arg) Obtains string fromArg.static StringStringUtil.getUpperCamelFromSnake(String snakeCaseString) Returns a upperCamelCase string from a snake case string.static StringPropertyFileUtil.getValidationMessage(String key, Map<String, Object> argMap) Returns the property value of default locale in ValidationMessages[_locale].properties.static StringReturns the localized enum name in ValidationMessages[_locale].properties.static StringPropertyFileUtil.getValidationMessagePatternDescription(String key) Returns the property value of default locale in ValidationMessages[_locale].properties.static StringPropertyFileUtil.getValidationMessagePatternDescription(Locale locale, String key) Returns the localized enum name in ValidationMessages[_locale].properties.static StringPropertyFileUtil.getValidationMessageWithItemName(String key, Map<String, Object> argMap) Returns the property value of default locale in ValidationMessagesWithItemNames_xxx.properties.static StringPropertyFileUtil.getValidationMessageWithItemName(Locale locale, String key, Map<String, Object> argMap) Returns the localized enum name in enum_names_xxx.properties.static booleanReturns the existence of the key.static booleanReturns the existence of the key.static booleanPropertyFileUtil.hasApplication(String key) Returns the existence of the key in application_xxx.properties.static <T> booleanEnumUtil.hasEnumFromCode(Class<T> enumClass, String code) Returns true if the argument code exists in the enum class.static <T> booleanEnumUtil.hasEnumFromCode(Class<T> enumClass, String code) Returns true if the argument code exists in the enum class.static booleanPropertyFileUtil.hasEnumName(String key) Returns the existence of the key in enam_names_xxx.properties.static booleanPropertyFileUtil.hasItemName(String key) Returns the existence of the key in item_names_xxx.properties.static booleanPropertyFileUtil.hasMessage(String key) Returns the existence of the key in messages_xxx.properties.static booleanPropertyFileUtil.hasMessageWithItemName(String key) Returns the existence of the key in messagesWithItemNames_xxx.properties.static booleanReturns the existence of the key in strings_xxx.properties.static booleanChecks if file is locked.static booleanFileUtil.isRelativePath(String path) Returns true if the path is relative.static org.apache.commons.lang3.tuple.Pair<FileChannel, FileLock> Obtains the lock of the designated file.static voidLogUtil.logSystemError(DetailLogger detailLog, Throwable throwable) Logs throwable.static voidLogUtil.logSystemError(DetailLogger detailLog, Throwable throwable) Logs throwable.static voidLogUtil.logSystemError(DetailLogger detailLog, Throwable throwable, String additionalMessage) Logs throwable.static voidLogUtil.logSystemError(DetailLogger detailLog, Throwable throwable, String additionalMessage) Logs throwable.static voidFileUtil.release(org.apache.commons.lang3.tuple.Pair<FileChannel, FileLock> channelAndLock) Releases the lock.static voidObjectsUtil.requireNonNull(Object object1, Object object2, Object... objects) Validates multiple arguments are notnulland throwsRequireNonNullExceptionif arguments value do not match the condition.static voidObjectsUtil.requireNonNull(Object object1, Object object2, Object... objects) Validates multiple arguments are notnulland throwsRequireNonNullExceptionif arguments value do not match the condition.static voidObjectsUtil.requireNonNull(Object object1, Object object2, Object... objects) Validates multiple arguments are notnulland throwsRequireNonNullExceptionif arguments value do not match the condition.static <T> TObjectsUtil.requireNonNull(T object) Validates the argument is notnulland throwsRequireNonNullExceptionif the argument value does not match the condition.static voidMailUtil.sendErrorMail(Throwable throwable) Sends an error mail.static voidMailUtil.sendErrorMail(Throwable throwable, String additionalMessage) Sends an error mail adding an additional message to it.static voidMailUtil.sendHtmlMail(List<String> mailToList, List<String> mailCcList, String title, String content) Provides sending html-format mail function.static voidMailUtil.sendTextMail(List<String> mailToList, List<String> mailCcList, String title, String content) Provides sending text-format mail function.static voidMailUtil.sendWarnMail(String content, List<String> mailToList) Sends a warn mail.static StringStringUtil.toCurrencyFormat(String number) Returns comma-separated number from number.static <T> Set<jakarta.validation.ConstraintViolation<T>> ValidationUtil.validate(T object) Validates and returnsConstraintViolationif validation errors exist.static <T> Optional<MultipleAppException> ValidationUtil.validateThenReturn(T object) Validates and returnsMultipleAppExceptionif validation errors exist.static <T> Optional<MultipleAppException> ValidationUtil.validateThenReturn(T object, Boolean addsItemNameToMessage, PropertyFileUtil.Arg messagePrefix, PropertyFileUtil.Arg messagePostfix) Validates and returnsMultipleAppExceptionif validation errors exist.static <T> voidValidationUtil.validateThenThrow(T object) Validates and throwsMultipleAppExceptionif validation errors exist.static <T> voidValidationUtil.validateThenThrow(T object, Boolean addsItemNameToMessage, PropertyFileUtil.Arg messagePrefix, PropertyFileUtil.Arg messagePostfix) Validates and throwsMultipleAppExceptionif validation errors exist.