org.infinispan.tasks.logging.Messages_$bundle Maven / Gradle / Ivy
The newest version!
package org.infinispan.tasks.logging;
import java.util.Locale;
import java.io.Serializable;
import javax.annotation.processing.Generated;
import java.lang.String;
/**
* Warning this class consists of generated code.
*/
@Generated(value = "org.jboss.logging.processor.generator.model.MessageBundleImplementor", date = "2024-08-22T04:23:28-0400")
public class Messages_$bundle implements Messages, Serializable {
private static final long serialVersionUID = 1L;
protected Messages_$bundle() {}
public static final Messages_$bundle INSTANCE = new Messages_$bundle();
protected Object readResolve() {
return INSTANCE;
}
private static final Locale LOCALE = Locale.ROOT;
protected Locale getLoggingLocale() {
return LOCALE;
}
protected String taskSuccess$str() {
return "ISPN101000: Task %s completed successfully";
}
@Override
public final String taskSuccess(final String name) {
return String.format(getLoggingLocale(), taskSuccess$str(), name);
}
protected String taskFailure$str() {
return "ISPN101001: Task %s completed with errors";
}
@Override
public final String taskFailure(final String name) {
return String.format(getLoggingLocale(), taskFailure$str(), name);
}
}