public final class ContextHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validateElement(PreflightContext context,
Object element,
String processName)
Check that the element parameter isn't null before calling the
callValidation(PreflightContext, Object, String) method. |
static void |
validateElement(PreflightContext context,
String processName)
call directly the
callValidation(PreflightContext, Object, String) |
public static void validateElement(PreflightContext context, Object element, String processName) throws ValidationException
callValidation(PreflightContext, Object, String)
method.context
- element
- processName
- ValidationException
public static void validateElement(PreflightContext context, String processName) throws ValidationException
callValidation(PreflightContext, Object, String)
context
- processName
- ValidationException
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.