Class Main


  • public final class Main
    extends java.lang.Object
    Main entry point for the turbine CLI.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Main.Result
      The result of a turbine invocation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Main.Result compile​(TurbineOptions options)  
      static Main.Result compile​(java.lang.String[] args)  
      static void main​(java.lang.String[] args)  
      static void writeJdepsForFallback​(TurbineOptions options)
      Writes a jdeps proto that indiciates to Blaze that the transitive classpath compilation failed, and it should fall back to the transitive classpath.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • compile

        @CanIgnoreReturnValue
        public static Main.Result compile​(java.lang.String[] args)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • compile

        @CanIgnoreReturnValue
        public static Main.Result compile​(TurbineOptions options)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • writeJdepsForFallback

        public static void writeJdepsForFallback​(TurbineOptions options)
                                          throws java.io.IOException
        Writes a jdeps proto that indiciates to Blaze that the transitive classpath compilation failed, and it should fall back to the transitive classpath. Used only when TurbineOptions.ReducedClasspathMode.BAZEL_REDUCED.
        Throws:
        java.io.IOException