Class ContextHelper


  • public final class ContextHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void validateElement​(PreflightContext context, java.lang.Object element, java.lang.String processName)
      Check that the element parameter isn't null before calling the callValidation(PreflightContext, Object, String) method.
      static void validateElement​(PreflightContext context, java.lang.String processName)
      call directly the callValidation(PreflightContext, Object, String)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • validateElement

        public static void validateElement​(PreflightContext context,
                                           java.lang.Object element,
                                           java.lang.String processName)
                                    throws ValidationException
        Check that the element parameter isn't null before calling the callValidation(PreflightContext, Object, String) method.
        Parameters:
        context -
        element -
        processName -
        Throws:
        ValidationException
      • validateElement

        public static void validateElement​(PreflightContext context,
                                           java.lang.String processName)
                                    throws ValidationException
        call directly the callValidation(PreflightContext, Object, String)
        Parameters:
        context -
        processName -
        Throws:
        ValidationException