Simple message

A library to simple-message custom, fatal error, error, information, success and warning.

License

License

GroupId

GroupId

com.github.thiagogarbazza
ArtifactId

ArtifactId

simple-message
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Simple message
A library to simple-message custom, fatal error, error, information, success and warning.
Source Code Management

Source Code Management

https://github.com/thiagogarbazza/simple-message

Download simple-message

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.thiagogarbazza/simple-message/ -->
<dependency>
    <groupId>com.github.thiagogarbazza</groupId>
    <artifactId>simple-message</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.thiagogarbazza/simple-message/
implementation 'com.github.thiagogarbazza:simple-message:1.0.0'
// https://jarcasting.com/artifacts/com.github.thiagogarbazza/simple-message/
implementation ("com.github.thiagogarbazza:simple-message:1.0.0")
'com.github.thiagogarbazza:simple-message:jar:1.0.0'
<dependency org="com.github.thiagogarbazza" name="simple-message" rev="1.0.0">
  <artifact name="simple-message" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.thiagogarbazza', module='simple-message', version='1.0.0')
)
libraryDependencies += "com.github.thiagogarbazza" % "simple-message" % "1.0.0"
[com.github.thiagogarbazza/simple-message "1.0.0"]

Dependencies

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.2

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

simple-message

A library to simple-message custom, fatal error, error, information, success and warning.

Build Status Coverage Status Coverage Status

Install

Available in the Maven Central repository.

Add a dependency to com.github.thiagogarbazza:simple-message in your project.

Example using maven:

<dependency>
  <groupId>com.github.thiagogarbazza</groupId>
  <artifactId>simple-message</artifactId>
  <version>1.0.0</version>
</dependency>

Usage samples

Simple usage:

public SimpleMessage example() {
  return new SimpleMessage(SimpleMessageType.INFORMATION, "key.a", "Message to key a");
}

Simple usage using java.text.MessageFormat:

public SimpleMessage exampleUsingMessageFormat() {
  return new SimpleMessage(SimpleMessageType.INFORMATION, "key.a", "Message to key {0} by {1}", "a", "Thiago");
}

Versions

Version
1.0.0
0.1.0