org.opends.messages
Class MessageDescriptor.Arg1<T1>
java.lang.Object
org.opends.messages.MessageDescriptor
org.opends.messages.MessageDescriptor.Arg1<T1>
- Type Parameters:
T1
- The type of the first message argument.
- Enclosing class:
- MessageDescriptor
@PublicAPI(stability=UNCOMMITTED,
mayInstantiate=true,
mayExtend=false,
mayInvoke=true)
public static final class MessageDescriptor.Arg1<T1>
- extends MessageDescriptor
Subclass for creating messages with one argument.
Nested classes/interfaces inherited from class org.opends.messages.MessageDescriptor |
MessageDescriptor.Arg0, MessageDescriptor.Arg1<T1>, MessageDescriptor.Arg10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>, MessageDescriptor.Arg11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>, MessageDescriptor.Arg2<T1,T2>, MessageDescriptor.Arg3<T1,T2,T3>, MessageDescriptor.Arg4<T1,T2,T3,T4>, MessageDescriptor.Arg5<T1,T2,T3,T4,T5>, MessageDescriptor.Arg6<T1,T2,T3,T4,T5,T6>, MessageDescriptor.Arg7<T1,T2,T3,T4,T5,T6,T7>, MessageDescriptor.Arg8<T1,T2,T3,T4,T5,T6,T7,T8>, MessageDescriptor.Arg9<T1,T2,T3,T4,T5,T6,T7,T8,T9>, MessageDescriptor.ArgN |
Constructor Summary |
MessageDescriptor.Arg1(java.lang.String rbBase,
java.lang.String key,
Category category,
Severity severity,
int ordinal,
java.lang.ClassLoader classLoader)
Creates a parameterized instance. |
MessageDescriptor.Arg1(java.lang.String rbBase,
java.lang.String key,
int mask,
Severity severity,
int ordinal,
java.lang.ClassLoader classLoader)
Creates a parameterized instance. |
Method Summary |
Message |
get(T1 a1)
Creates a message with arguments that will replace format
specifiers in the assocated format string when the message
is rendered to string representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDescriptor.Arg1
public MessageDescriptor.Arg1(java.lang.String rbBase,
java.lang.String key,
Category category,
Severity severity,
int ordinal,
java.lang.ClassLoader classLoader)
- Creates a parameterized instance.
- Parameters:
rbBase
- base of the backing resource bundlekey
- for accessing the format string from the resource bundlecategory
- of created messagesseverity
- of created messagesordinal
- of created messagesclassLoader
- the class loader to be used to get the ResourceBundle
MessageDescriptor.Arg1
public MessageDescriptor.Arg1(java.lang.String rbBase,
java.lang.String key,
int mask,
Severity severity,
int ordinal,
java.lang.ClassLoader classLoader)
- Creates a parameterized instance.
- Parameters:
rbBase
- base of the backing resource bundlekey
- for accessing the format string from the resource bundlemask
- to apply to the USER_DEFINED categoryseverity
- of created messagesordinal
- of created messagesclassLoader
- the class loader to be used to get the ResourceBundle
get
public Message get(T1 a1)
- Creates a message with arguments that will replace format
specifiers in the assocated format string when the message
is rendered to string representation.
- Parameters:
a1
- message argument
- Returns:
- Message object