public class ConfigurationFactory extends Object
Configuration
instances. The factory will transform an ArgumentDescriptor
instance to a
Configuration
instance.Modifier and Type | Method and Description |
---|---|
static Configuration |
createConfigurationForMultiValueArgumentDescriptor(MultiValueArgumentDescriptor argumentDescriptor)
Creates a configuration from a
MultiValueArgumentDescriptor instance. |
static Configuration |
createConfigurationForMultiValueUserPreferenceDescriptor(MultiValueUserPreferenceDescriptor userPreferenceDescriptor)
Creates a configuration from a
MultiValueUserPreferenceDescriptor instance. |
static Configuration |
createConfigurationForSingleValueArgumentDescriptor(SingleValueArgumentDescriptor argumentDescriptor)
Creates a configuration from a
SingleValueArgumentDescriptor instance. |
static Configuration |
createConfigurationForSingleValueUserPreferenceDescriptor(SingleValueUserPreferenceDescriptor userPreferenceDescriptor)
Creates a configuration from a
SingleValueUserPreferenceDescriptor instance. |
public static Configuration createConfigurationForSingleValueArgumentDescriptor(SingleValueArgumentDescriptor argumentDescriptor)
SingleValueArgumentDescriptor
instance.argumentDescriptor
- the argument descriptor.Configuration
instance.public static Configuration createConfigurationForMultiValueArgumentDescriptor(MultiValueArgumentDescriptor argumentDescriptor)
MultiValueArgumentDescriptor
instance.argumentDescriptor
- the argument descriptor.Configuration
instance.public static Configuration createConfigurationForSingleValueUserPreferenceDescriptor(SingleValueUserPreferenceDescriptor userPreferenceDescriptor)
SingleValueUserPreferenceDescriptor
instance.userPreferenceDescriptor
- the user preference descriptor.Configuration
instance.public static Configuration createConfigurationForMultiValueUserPreferenceDescriptor(MultiValueUserPreferenceDescriptor userPreferenceDescriptor)
MultiValueUserPreferenceDescriptor
instance.userPreferenceDescriptor
- the user preference descriptor.Configuration
instance.Copyright © 2022. All rights reserved.