public class ModelUtils extends Object
Constructor and Description |
---|
ModelUtils() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
detectPathParamNames(String path)
Detects the appropriate path parameter names from a path.
|
static boolean |
isDefined(Object object)
The opposite of isNullOrUndefined.
|
static boolean |
isNullOrUndefined(Object object)
Returns true if the given object is null or undefined.
|
public static boolean isNullOrUndefined(Object object)
object
- public static boolean isDefined(Object object)
object
- public static List<String> detectPathParamNames(String path)
path
- Copyright © 2019 Red Hat. All rights reserved.