org.apache.oozie.servlet
Class ServletUtilities

java.lang.Object
  extended by org.apache.oozie.servlet.ServletUtilities

public class ServletUtilities
extends Object


Constructor Summary
ServletUtilities()
           
 
Method Summary
protected static void ValidateAppPath(String wfPath, String coordPath)
          accessory static method to check the app path parameter for the request used only for job-related request and only one of them should exist
protected static void ValidateAppPath(String wfPath, String coordPath, String bundlePath)
          accessory static method to check the app path parameter for the request used only for job-related request and only one of them should exist bundle appPath is also checked
protected static void ValidateLibPath(String libPath)
          accessory static method to check the lib path parameter for the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletUtilities

public ServletUtilities()
Method Detail

ValidateAppPath

protected static void ValidateAppPath(String wfPath,
                                      String coordPath)
                               throws XServletException
accessory static method to check the app path parameter for the request used only for job-related request and only one of them should exist

Parameters:
wfPath - workflow app path
coordPath - coordinator app path
Throws:
XServletException

ValidateAppPath

protected static void ValidateAppPath(String wfPath,
                                      String coordPath,
                                      String bundlePath)
                               throws XServletException
accessory static method to check the app path parameter for the request used only for job-related request and only one of them should exist bundle appPath is also checked

Parameters:
wfPath - workflow app path
coordPath - coordinator app path
bundlePath - bundle app path
Throws:
XServletException

ValidateLibPath

protected static void ValidateLibPath(String libPath)
                               throws XServletException
accessory static method to check the lib path parameter for the request

Parameters:
libPath - lib path
Throws:
XServletException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.