Package org.apache.hive.ptest.api.response

Examples of org.apache.hive.ptest.api.response.TestStopResponse


    String testHandle = stopRequest.getTestHandle();
    Test test = mTests.get(testHandle);
    if(result.hasErrors() ||
        Strings.nullToEmpty(stopRequest.getTestHandle()).trim().isEmpty() ||
        test == null) {
      return new TestStopResponse(Status.illegalArgument());
    }
    test.setStopRequested(true);
    return new TestStopResponse(Status.ok());
  }
View Full Code Here

TOP

Related Classes of org.apache.hive.ptest.api.response.TestStopResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.