Package org.mockserver.grpc
Class GrpcProtoFileCompiler
- java.lang.Object
-
- org.mockserver.grpc.GrpcProtoFileCompiler
-
public class GrpcProtoFileCompiler extends Object
-
-
Constructor Summary
Constructors Constructor Description GrpcProtoFileCompiler(MockServerLogger mockServerLogger)GrpcProtoFileCompiler(MockServerLogger mockServerLogger, String protocPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]compile(Path protoFile)byte[]compile(Path protoFile, Path protoPath)voidcompileDirectory(Path directory, GrpcProtoDescriptorStore store)byte[]compileSource(String protoSource)booleanisProtocAvailable()
-
-
-
Constructor Detail
-
GrpcProtoFileCompiler
public GrpcProtoFileCompiler(MockServerLogger mockServerLogger)
-
GrpcProtoFileCompiler
public GrpcProtoFileCompiler(MockServerLogger mockServerLogger, String protocPath)
-
-
Method Detail
-
compile
public byte[] compile(Path protoFile)
-
compileSource
public byte[] compileSource(String protoSource)
-
compileDirectory
public void compileDirectory(Path directory, GrpcProtoDescriptorStore store)
-
isProtocAvailable
public boolean isProtocAvailable()
-
-