Package com.subgraph.vega.api.scanner.modules

Examples of com.subgraph.vega.api.scanner.modules.ModuleScriptType


  private ModuleScriptType getScriptType(Scriptable module) throws ModuleValidationException {
    if(!hasStringInModuleObject(module, "type"))
      return ModuleScriptType.BASIC_MODULE;
   
    final String typeName = getStringFromModuleObject(module, "type");
    final ModuleScriptType type = ModuleScriptType.lookup(typeName);
    if(type == null)
      throw new ModuleValidationException("Unrecognized module type: "+ typeName);
    else
      return type;
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.scanner.modules.ModuleScriptType

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.