All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.demoiselle.jee.configuration.message.ConfigurationMessage Maven / Gradle / Ivy

Go to download

Demoiselle Configuration habilita os projetos a usarem configurações em arquivos .properties, .xml ou variáveis de ambiente.

There is a newer version: 3.0.4
Show newest version
/*
 * Demoiselle Framework
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.demoiselle.jee.configuration.message;

import org.apache.deltaspike.core.api.message.MessageBundle;
import org.apache.deltaspike.core.api.message.MessageTemplate;

/**
 * 
 * Messages used to inform user
 *
 * @author SERPRO
 */
@MessageBundle
public interface ConfigurationMessage {

    @MessageTemplate("{load-configuration-class}")
    String loadConfigurationClass(String name);

    @MessageTemplate("{configuration-name-attribute-cant-be-empty}")
    String configurationNameAttributeCantBeEmpty(String annotationName);

    @MessageTemplate("{file-not-found}")
    String fileNotFound(String resource);

    @MessageTemplate("{configuration-dot-after-prefix}")
    String configurationDotAfterPrefix(String resource);

    @MessageTemplate("{configuration-key-not-found}")
    String configurationKeyNotFoud(String keyNotFound);

    @MessageTemplate("{configuration-field-loaded}")
    String configurationFieldLoaded(String key, Object value);

    @MessageTemplate("{configuration-not-conversion}")
    String configurationNotConversion(String field, String type);

    @MessageTemplate("{configuration-generic-extraction-error}")
    String configurationGenericExtractionError(String typeField, String canonicalName);

    @MessageTemplate("{configuration-extractor-not-found}")
    String configurationExtractorNotFound(String genericString, String valueExtractorClassName);

    @MessageTemplate("{ambiguous-strategy-resolution}")
    String ambigousStrategyResolution(String canonicalName, String string);

    @MessageTemplate("{configuration-error-get-value}")
    String configurationErrorGetValue(String fieldName, Object object);

    @MessageTemplate("{configuration-error-set-value}")
    String configurationErrorSetValue(Object value, Object field, Object object);

    @MessageTemplate("{fail-create-apache-configuration}")
    String failOnCreateApacheConfiguration(String message);

    @MessageTemplate("{configuration-field-suppress}")
    String configurationFieldSuppress(String key, String annotationName);

    @MessageTemplate("{cdi-not-already}")
    String cdiNotAlready();    

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy