public class ConfigWrapper
extends java.lang.Object
ConfigWrapper class.
| Constructor and Description |
|---|
ConfigWrapper()
Constructor for ConfigWrapper.
|
ConfigWrapper(java.lang.String config)
Constructor for ConfigWrapper.
|
ConfigWrapper(@NotNull java.lang.String config,
@NotNull DescriptorType descType)
Object constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConfig()
Getter for the field
config. |
DescriptorType |
getDescriptorType()
Getter for the field
descriptorType. |
void |
setConfig(java.lang.String config)
Setter for the field
config. |
void |
setDescriptorType(DescriptorType descriptorType)
Setter for the field
descriptorType. |
public ConfigWrapper()
Constructor for ConfigWrapper.
public ConfigWrapper(java.lang.String config)
Constructor for ConfigWrapper.
config - a String object.public ConfigWrapper(@NotNull
@NotNull java.lang.String config,
@NotNull
@NotNull DescriptorType descType)
config - Configuration string.descType - Descriptor type e.g. JSON,XML etc.public DescriptorType getDescriptorType()
Getter for the field descriptorType.
DescriptorType object.public void setDescriptorType(DescriptorType descriptorType)
Setter for the field descriptorType.
descriptorType - a DescriptorType object.public java.lang.String getConfig()
Getter for the field config.
String object.public void setConfig(java.lang.String config)
Setter for the field config.
config - a String object.Copyright © 2022. All rights reserved.