class ScalaPBWorker extends AutoCloseable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalaPBWorker
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScalaPBWorker()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- ScalaPBWorker → AutoCloseable
- def compile(scalaPBClasspath: Agg[Path], scalaPBSources: Seq[Path], scalaPBOptions: String, dest: Path, scalaPBCExtraArgs: Seq[String])(implicit ctx: Ctx): Result[api.PathRef]
compile protobuf using ScalaPBC
compile protobuf using ScalaPBC
- scalaPBClasspath
classpaths for ScalaPBC to run
- scalaPBSources
proto files to be compiles
- scalaPBOptions
option string specific for scala generator. (the options in
--scala_out=<options>:output_path
)- dest
output path
- scalaPBCExtraArgs
extra arguments other than
--scala_out=<options>:output_path
,--proto_path=source_parent
,source
- returns
execute result with path ref to
dest
- Annotations
- @Scaladoc()
- def compileOptions(protocPath: Option[String], includes: Seq[Path], additionalArgs: Seq[String]): Seq[String]
Build arguments for ScalaPBC, except scala_out/proto_path for source/source
Build arguments for ScalaPBC, except scala_out/proto_path for source/source
- protocPath
optional protoc path.
- includes
proto paths other than source proto.
- additionalArgs
other arguments.
- returns
arguments for ScalaPBC
- Annotations
- @Scaladoc()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()