1 /*******************************************************************************
\r
2 * ============LICENSE_START==================================================
\r
4 * * ===========================================================================
\r
5 * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * * ===========================================================================
\r
7 * * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * * you may not use this file except in compliance with the License.
\r
9 * * You may obtain a copy of the License at
\r
11 * * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * * Unless required by applicable law or agreed to in writing, software
\r
14 * * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * * See the License for the specific language governing permissions and
\r
17 * * limitations under the License.
\r
18 * * ============LICENSE_END====================================================
\r
20 * * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
22 ******************************************************************************/
\r
23 package com.att.research.datarouter.node.eelf;
\r
25 import com.att.eelf.i18n.EELFResolvableErrorEnum;
\r
26 import com.att.eelf.i18n.EELFResourceManager;
\r
28 public enum EelfMsgs implements EELFResolvableErrorEnum {
\r
31 * Application message prints user (accepts one argument)
\r
33 MESSAGE_WITH_BEHALF,
\r
36 * Application message prints user and FeedID (accepts two arguments)
\r
39 MESSAGE_WITH_BEHALF_AND_FEEDID,
\r
42 * Application message prints keystore file error in EELF errors log
\r
45 MESSAGE_KEYSTORE_LOAD_ERROR,
\r
48 * Application message prints Error extracting my name from my keystore file
\r
51 MESSAGE_KEYSORE_NAME_ERROR,
\r
54 * Application message prints Error parsing configuration data from provisioning server.
\r
58 MESSAGE_PARSING_ERROR,
\r
61 * Application message printsConfiguration failed
\r
65 MESSAGE_CONF_FAILED,
\r
68 * Application message prints Bad provisioning server URL
\r
72 MESSAGE_BAD_PROV_URL,
\r
75 * Application message prints Unable to fetch canonical name from keystore file
\r
79 MESSAGE_KEYSTORE_FETCH_ERROR,
\r
82 * Application message prints Unable to load local configuration file.
\r
86 MESSAGE_PROPERTIES_LOAD_ERROR;
\r
90 * Static initializer to ensure the resource bundles for this class are loaded...
\r
91 * Here this application loads messages from three bundles
\r
94 EELFResourceManager.loadMessageBundle("EelfMessages");
\r