Package org.impalaframework.module.operation

Examples of org.impalaframework.module.operation.ModuleOperationResult


  public String reloadModule(String moduleName) {

    ModuleOperation operation = moduleOperationRegistry.getOperation(ModuleOperationConstants.ReloadModuleNamedLikeOperation);
   
    try {
      ModuleOperationResult execute = operation.execute(new ModuleOperationInput(null, null, moduleName));
      if (execute.isSuccess()) {
        return "Successfully reloaded " + execute.getOutputParameters().get("moduleName");
      } else {
        return "Could not find module " + moduleName;
      }
    }
    catch (Throwable e) {
View Full Code Here

TOP

Related Classes of org.impalaframework.module.operation.ModuleOperationResult

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.