public abstract class Parameters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Parameters.BooleanDescription
This annotation defines readable descriptions boolean parameters.
|
static interface |
Parameters.KeylessDescription
This annotation is for descriptions which do not display the key/name.
|
static interface |
Parameters.PathDescription
This annotation defines readable descriptions for paths.
|
| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription(java.util.List<java.lang.String> fields)
Returns a string representation of the parameters, using only the specified fields.
|
java.lang.Enum<?> |
operation()
Notice the function name can't be getOperation since Jackson would transfer this function in to
json value, break Parameter serialization and cause serialization error.
|
static Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> |
partitionFieldNames(java.util.List<Parameters> paramList) |
public java.lang.String getDescription(java.util.List<java.lang.String> fields)
fields - the fields to use for the string representationpublic static Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> partitionFieldNames(java.util.List<Parameters> paramList)
paramList - the list of parameters to extract the common and unique fieldspublic java.lang.Enum<?> operation()
Copyright © 2023. All Rights Reserved.