Package com.epam.admintool.resource
Class ResourceHelper
java.lang.Object
com.epam.admintool.resource.ResourceHelper
The resource helper class.
Provides ability to load the message from properties file.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCodeMessage(String key) static StringgetCodeMessage(String key, String commandName) static StringgetFailsCodeMessage(String key, String... args) static StringgetFailsCodeMessage(String key, String commandName, String problem)
-
Field Details
-
OPERATION_UNKNOWN_SENDER_TARGET
- See Also:
-
OPERATION_UNKNOWN_SESSION_ID
- See Also:
-
OPERATION_SUCCESS
- See Also:
-
OPERATION_ERROR
- See Also:
-
INVALID_XML_DATA
- See Also:
-
UNABLE_TO_PROCESS_NOT_XMLDATA
- See Also:
-
XML_DATA_IS_EMPTY
- See Also:
-
REQUEST_ID_HAS_BEEN_USED
- See Also:
-
OPERATION_SESSION_LIST_SNAPSHOT_SUCCESS
- See Also:
-
OPERATION_SESSION_LIST_WITH_SNAPSHOT_SUCCESS
- See Also:
-
OPERATION_SESSION_LIST_UNSUBSCRIBE_SNAPSHOT_SUCCESS
- See Also:
-
OPERATION_SESSION_LIST_SUBSCRIBE_SUCCESS
- See Also:
-
-
Method Details
-
getCodeMessage
-
getFailsCodeMessage
-
getFailsCodeMessage
-
getCodeMessage
-