code: TomcatRuntime getTomcatRuntime(WebResourceRoot resources) {
  		TomcatRuntime result = null;
  
  		if (isUberJar(resources)) {
  			result = TomcatRuntime.UBER_JAR;
  		}
  		else if (isUberWar(resources)) {
  			result = TomcatRuntime.UBER_WAR;
  		}
  		else if (isTesting(resources)) {
  			result = TomcatRuntime.TEST;
  		}
  		else if (isUnpackagedJar(resources)) {
  			result = TomcatRuntime.UNPACKAGED_JAR;
  		}
  
  		return result;
  	}
docs: Inform tomcat runtime setup. UNPACKAGED_WAR not covered yet.
  @param resources of the tomcat
  @return tomcat runtime