public static TraceType traceTypeFor(String style) { if (style.equalsIgnoreCase("raw")) return new TraceType(Gather.RAW, Format.JRUBY); else if (style.equalsIgnoreCase("ruby_framed")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("normal")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("full")) return new TraceType(Gather.FULL, Format.JRUBY); else if (style.equalsIgnoreCase("mri")) return new TraceType(Gather.NORMAL, Format.MRI); else return new TraceType(Gather.NORMAL, Format.JRUBY); }
public static TraceType traceTypeFor(String style) { if (style.equalsIgnoreCase("raw")) return new TraceType(Gather.RAW, Format.JRUBY); else if (style.equalsIgnoreCase("ruby_framed")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("normal")) return new TraceType(Gather.NORMAL, Format.JRUBY); // deprecated, just uses jruby format now else if (style.equalsIgnoreCase("rubinius")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("full")) return new TraceType(Gather.FULL, Format.JRUBY); else if (style.equalsIgnoreCase("mri")) return new TraceType(Gather.NORMAL, Format.MRI); else return new TraceType(Gather.NORMAL, Format.JRUBY); }
public static TraceType traceTypeFor(String style) { if (style.equalsIgnoreCase("raw")) return new TraceType(Gather.RAW, Format.JRUBY); else if (style.equalsIgnoreCase("ruby_framed")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("normal")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("full")) return new TraceType(Gather.FULL, Format.JRUBY); else if (style.equalsIgnoreCase("mri")) return new TraceType(Gather.NORMAL, Format.MRI); else return new TraceType(Gather.NORMAL, Format.JRUBY); }
public static TraceType traceTypeFor(String style) { if (style.equalsIgnoreCase("raw")) return new TraceType(Gather.RAW, Format.JRUBY); else if (style.equalsIgnoreCase("ruby_framed")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("normal")) return new TraceType(Gather.NORMAL, Format.JRUBY); // deprecated, just uses jruby format now else if (style.equalsIgnoreCase("rubinius")) return new TraceType(Gather.NORMAL, Format.JRUBY); else if (style.equalsIgnoreCase("full")) return new TraceType(Gather.FULL, Format.JRUBY); else if (style.equalsIgnoreCase("mri")) return new TraceType(Gather.NORMAL, Format.MRI); else return new TraceType(Gather.NORMAL, Format.JRUBY); }