public enum JIPipeParameterSerializationMode extends Enum<JIPipeParameterSerializationMode>
JIPipeParameterCollection
is serializedEnum Constant and Description |
---|
Default
The parameter is serialized as collection, meaning that sub-parameters are
unwrapped.
|
None
The parameter is not serialized
|
Object
The parameter is serialized into an object instead of exploded into the root object.
|
Modifier and Type | Method and Description |
---|---|
static JIPipeParameterSerializationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JIPipeParameterSerializationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JIPipeParameterSerializationMode Default
JIPipeParameterCollection
objects.
This is the default and most robust method, as the minimal amount of information is lost on API changes.public static final JIPipeParameterSerializationMode Object
JsonDeserializable
.
This is less robust than the Collection method, but might be preferred for certain types.public static final JIPipeParameterSerializationMode None
public static JIPipeParameterSerializationMode[] values()
for (JIPipeParameterSerializationMode c : JIPipeParameterSerializationMode.values()) System.out.println(c);
public static JIPipeParameterSerializationMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.