public final class GovernanceEngineValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validateClassification(List<String> rootClassification,
String parameterName,
String methodName)
Throw an exception if the supplied unique identifier is null
|
static void |
validateGUID(String guid,
String parameterName,
String methodName)
Throw an exception if the supplied unique identifier is null
|
static void |
validateType(List<String> rootAssetType,
String parameterName,
String methodName)
Throw an exception if the supplied unique identifier is null
|
static void |
validateUserId(String userId,
String methodName)
Throw an exception if the supplied userId is null
|
public static void validateUserId(String userId, String methodName) throws InvalidParameterException
userId - - user name to validatemethodName - - name of the method making the call.InvalidParameterException - - the userId is nullpublic static void validateGUID(String guid, String parameterName, String methodName) throws InvalidParameterException
guid - - unique identifier to validateparameterName - - name of the parameter that passed the guid.methodName - - name of the method making the call.InvalidParameterException - - the guid is nullpublic static void validateClassification(List<String> rootClassification, String parameterName, String methodName) throws InvalidParameterException
rootClassification - - unique identifier to validateparameterName - - name of the parameter that passed the guid.methodName - - name of the method making the call.InvalidParameterException - - the guid is nullpublic static void validateType(List<String> rootAssetType, String parameterName, String methodName) throws InvalidParameterException
rootAssetType - - unique identifier to validateparameterName - - name of the parameter that passed the guid.methodName - - name of the method making the call.InvalidParameterException - - the guid is nullCopyright © 2017–2018 ODPi. All rights reserved.