public class ParticipantConfigCreator extends Object
ParticipantConfig
instances from configuration
Properties
instances.Constructor and Description |
---|
ParticipantConfigCreator() |
Modifier and Type | Method and Description |
---|---|
ParticipantConfig |
create(Properties properties)
Create a new
ParticipantConfig from the given properties. |
void |
reconfigure(ParticipantConfig config,
Properties properties)
Reconfigures an existing
ParticipantConfig with options from a
Properties object. |
public ParticipantConfig create(Properties properties)
ParticipantConfig
from the given properties.properties
- properties to usepublic void reconfigure(ParticipantConfig config, Properties properties)
ParticipantConfig
with options from a
Properties
object. This means that all options found in the
properties object either override the existing ones in the participant
config or are added in case they did not exist.config
- the config to modifyproperties
- the properties to useCopyright © 2018 CoR-Lab. All rights reserved.