Class PluginConfigKeyType
- java.lang.Object
-
- com.funnelback.plugin.details.model.PluginConfigKeyType
-
public class PluginConfigKeyType extends Object
Define a type of plugin configuration key For example, if key value is expected to be `true` or `false`
or using a buildernew PluginConfigKeyType(PluginConfigKeyType.Format.BOOLEAN)
If key value is expected to be a list of strings,PluginConfigKeyType.builder() .type(PluginConfigKeyType.Format.BOOLEAN) .build()
or using a buildernew PluginConfigKeyType(PluginConfigKeyType.Format.ARRAY, PluginConfigKeyType.Format.STRING)
PluginConfigKeyType.builder() .type(PluginConfigKeyType.Format.ARRAY) .subtype(PluginConfigKeyType.Format.STRING) .build()
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PluginConfigKeyType.Format
Allowed types of plugin configuration keystatic class
PluginConfigKeyType.PluginConfigKeyTypeBuilder
-
Field Summary
Fields Modifier and Type Field Description private PluginConfigKeyType.Format
subtype
If the type of plugin configuration key value is `FORMAT.ARRAY`, define a type of item in an arrayprivate PluginConfigKeyType.Format
type
Type of plugin configuration key value
-
Constructor Summary
Constructors Constructor Description PluginConfigKeyType(PluginConfigKeyType.Format type)
PluginConfigKeyType(PluginConfigKeyType.Format type, PluginConfigKeyType.Format subtype)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginConfigKeyType.PluginConfigKeyTypeBuilder
builder()
PluginConfigKeyType.Format
getSubtype()
If the type of plugin configuration key value is `FORMAT.ARRAY`, define a type of item in an arrayPluginConfigKeyType.Format
getType()
Type of plugin configuration key value
-
-
-
Field Detail
-
type
private final PluginConfigKeyType.Format type
Type of plugin configuration key value
-
subtype
private final PluginConfigKeyType.Format subtype
If the type of plugin configuration key value is `FORMAT.ARRAY`, define a type of item in an array
-
-
Constructor Detail
-
PluginConfigKeyType
public PluginConfigKeyType(PluginConfigKeyType.Format type)
-
PluginConfigKeyType
public PluginConfigKeyType(PluginConfigKeyType.Format type, PluginConfigKeyType.Format subtype)
-
-
Method Detail
-
builder
public static PluginConfigKeyType.PluginConfigKeyTypeBuilder builder()
-
getType
public PluginConfigKeyType.Format getType()
Type of plugin configuration key value
-
getSubtype
public PluginConfigKeyType.Format getSubtype()
If the type of plugin configuration key value is `FORMAT.ARRAY`, define a type of item in an array
-
-