com.ibm.tivoli.maximo.oslc.provider.unittest

Class TestThreadLogger

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.provider.unittest.TestThreadLogger


  • public class TestThreadLogger
    extends java.lang.Object
    • Constructor Detail

      • TestThreadLogger

        public TestThreadLogger()
    • Method Detail

      • createTenantLoggers

        public void createTenantLoggers()
                                 throws java.lang.Exception
        Create thread logger
        Throws:
        java.lang.Exception
      • displayTenantLoggers

        public void displayTenantLoggers()
                                  throws java.lang.Exception
        Create thread logger
        Throws:
        java.lang.Exception
      • deleteTenantLoggers

        public void deleteTenantLoggers()
                                 throws java.lang.Exception
        Create thread logger
        Throws:
        java.lang.Exception
      • processLogger

        public void processLogger(com.ibm.json.java.JSONObject jo,
                                  java.lang.String path)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getLoggers

        public com.ibm.json.java.JSONArray getLoggers()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setAuth

        public void setAuth(java.lang.String user,
                            java.lang.String pwd,
                            java.net.HttpURLConnection con)
      • checkHttpPostResult

        public void checkHttpPostResult(java.net.HttpURLConnection httpConn,
                                        int targetResponseCode)
                                 throws java.io.IOException,
                                        MXException
        Throws:
        java.io.IOException
        MXException