public interface ISupportManager
Modifier and Type | Method and Description |
---|---|
@NonNull ISupportParameter |
createParameter(@NonNull String tag)
Creates a
ISupportParameter from given input. |
@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> |
getCreator(@NonNull String parameter)
Gets the registered ISUPPORT creator for a given parameter name.
|
@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> |
registerParameter(@NonNull String parameter,
@NonNull TriFunction<Client,String,String,? extends ISupportParameter> creator)
Registers a function that creates an
ISupportParameter from a
given parameter and value. |
@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> |
unregisterParameter(@NonNull String parameter)
Removes the registered creator for a given parameter.
|
@NonNull ISupportParameter createParameter(@NonNull String tag)
ISupportParameter
from given input.tag
- input@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> getCreator(@NonNull String parameter)
parameter
- parameter@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> registerParameter(@NonNull String parameter, @NonNull TriFunction<Client,String,String,? extends ISupportParameter> creator)
ISupportParameter
from a
given parameter and value.parameter
- name of the parameter to registercreator
- function that creates tags@NonNull Optional<TriFunction<Client,String,String,? extends ISupportParameter>> unregisterParameter(@NonNull String parameter)
parameter
- parameterCopyright © 2013–2021 Kitteh. All rights reserved.