Package gauge.messages
Class RunnerGrpc.RunnerImplBase
- java.lang.Object
-
- gauge.messages.RunnerGrpc.RunnerImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Direct Known Subclasses:
RunnerServiceHandler
- Enclosing class:
- RunnerGrpc
public abstract static class RunnerGrpc.RunnerImplBase extends Object implements io.grpc.BindableService
-
-
Constructor Summary
Constructors Constructor Description RunnerImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidcacheFile(Messages.CacheFileRequest request, io.grpc.stub.StreamObserver<Messages.Empty> responseObserver)CacheFile is a RPC to tell runner to load/reload/unload a implementation file.voidexecuteStep(Messages.ExecuteStepRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ExecuteStep is a RPC to tell runner to execute a step .voidfinishExecution(Messages.ExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ExecutionEnding is a RPC to tell runner to execute suite level hooks.voidfinishScenarioExecution(Messages.ScenarioExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks.voidfinishSpecExecution(Messages.SpecExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)SpecExecutionEnding is a RPC to tell runner to execute spec level hooks.voidfinishStepExecution(Messages.StepExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)StepExecutionEnding is a RPC to tell runner to execute step level hooks.voidgetGlobPatterns(Messages.Empty request, io.grpc.stub.StreamObserver<Messages.ImplementationFileGlobPatternResponse> responseObserver)GetGlobPatterns is a RPC to get the file path pattern which needs to be cached.voidgetImplementationFiles(Messages.Empty request, io.grpc.stub.StreamObserver<Messages.ImplementationFileListResponse> responseObserver)GetImplementationFiles is a RPC get all the existing implementation files.voidgetStepName(Messages.StepNameRequest request, io.grpc.stub.StreamObserver<Messages.StepNameResponse> responseObserver)GetStepName is a RPC to get information about the given step.voidgetStepNames(Messages.StepNamesRequest request, io.grpc.stub.StreamObserver<Messages.StepNamesResponse> responseObserver)GetStepNames is a RPC to get all the available steps from the runner.voidgetStepPositions(Messages.StepPositionsRequest request, io.grpc.stub.StreamObserver<Messages.StepPositionsResponse> responseObserver)GetStepPositions is a RPC to get positions of all available steps in a given file.voidimplementStub(Messages.StubImplementationCodeRequest request, io.grpc.stub.StreamObserver<Messages.FileDiff> responseObserver)ImplementStub is a RPC to to ask runner to add a given implementation to given file.voidinitializeScenarioDataStore(Messages.ScenarioDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ScenarioDataStoreInit is a RPC to initialize the scenario level data store.voidinitializeSpecDataStore(Messages.SpecDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)SpecDataStoreInit is a RPC to initialize the spec level data store.voidinitializeSuiteDataStore(Messages.SuiteDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)SuiteDataStoreInit is a RPC to initialize the suite level data store.voidkill(Messages.KillProcessRequest request, io.grpc.stub.StreamObserver<Messages.Empty> responseObserver)Kill is a RPC tell plugin to stop grpc server and kill the plugin process.voidrefactor(Messages.RefactorRequest request, io.grpc.stub.StreamObserver<Messages.RefactorResponse> responseObserver)Refactor is a RPC to refactor a given step in implementation file.voidstartExecution(Messages.ExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ExecutionStarting is a RPC to tell runner to execute Suite level hooks.voidstartScenarioExecution(Messages.ScenarioExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks.voidstartSpecExecution(Messages.SpecExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)SpecExecutionStarting is a RPC to tell runner to execute spec level hooks.voidstartStepExecution(Messages.StepExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)StepExecutionStarting is a RPC to tell runner to execute step level hooks.voidvalidateStep(Messages.StepValidateRequest request, io.grpc.stub.StreamObserver<Messages.StepValidateResponse> responseObserver)ValidateStep is a RPC to validate a given step.
-
-
-
Method Detail
-
validateStep
public void validateStep(Messages.StepValidateRequest request, io.grpc.stub.StreamObserver<Messages.StepValidateResponse> responseObserver)
ValidateStep is a RPC to validate a given step. Accepts a StepValidateRequest message and returns a StepValidateResponse message
-
initializeSuiteDataStore
public void initializeSuiteDataStore(Messages.SuiteDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
SuiteDataStoreInit is a RPC to initialize the suite level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startExecution
public void startExecution(Messages.ExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ExecutionStarting is a RPC to tell runner to execute Suite level hooks. Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
initializeSpecDataStore
public void initializeSpecDataStore(Messages.SpecDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
SpecDataStoreInit is a RPC to initialize the spec level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startSpecExecution
public void startSpecExecution(Messages.SpecExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
initializeScenarioDataStore
public void initializeScenarioDataStore(Messages.ScenarioDataStoreInitRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ScenarioDataStoreInit is a RPC to initialize the scenario level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startScenarioExecution
public void startScenarioExecution(Messages.ScenarioExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
startStepExecution
public void startStepExecution(Messages.StepExecutionStartingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
StepExecutionStarting is a RPC to tell runner to execute step level hooks. Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
executeStep
public void executeStep(Messages.ExecuteStepRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ExecuteStep is a RPC to tell runner to execute a step . Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message
-
finishStepExecution
public void finishStepExecution(Messages.StepExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
StepExecutionEnding is a RPC to tell runner to execute step level hooks. Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishScenarioExecution
public void finishScenarioExecution(Messages.ScenarioExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishSpecExecution
public void finishSpecExecution(Messages.SpecExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishExecution
public void finishExecution(Messages.ExecutionEndingRequest request, io.grpc.stub.StreamObserver<Messages.ExecutionStatusResponse> responseObserver)
ExecutionEnding is a RPC to tell runner to execute suite level hooks. Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
cacheFile
public void cacheFile(Messages.CacheFileRequest request, io.grpc.stub.StreamObserver<Messages.Empty> responseObserver)
CacheFile is a RPC to tell runner to load/reload/unload a implementation file. Accepts a CacheFileRequest message and returns a Empty message
-
getStepName
public void getStepName(Messages.StepNameRequest request, io.grpc.stub.StreamObserver<Messages.StepNameResponse> responseObserver)
GetStepName is a RPC to get information about the given step. Accepts a StepNameRequest message and returns a StepNameResponse message.
-
getGlobPatterns
public void getGlobPatterns(Messages.Empty request, io.grpc.stub.StreamObserver<Messages.ImplementationFileGlobPatternResponse> responseObserver)
GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message.
-
getStepNames
public void getStepNames(Messages.StepNamesRequest request, io.grpc.stub.StreamObserver<Messages.StepNamesResponse> responseObserver)
GetStepNames is a RPC to get all the available steps from the runner. Accepts a StepNamesRequest message and returns a StepNamesResponse
-
getStepPositions
public void getStepPositions(Messages.StepPositionsRequest request, io.grpc.stub.StreamObserver<Messages.StepPositionsResponse> responseObserver)
GetStepPositions is a RPC to get positions of all available steps in a given file. Accepts a StepPositionsRequest message and returns a StepPositionsResponse message
-
getImplementationFiles
public void getImplementationFiles(Messages.Empty request, io.grpc.stub.StreamObserver<Messages.ImplementationFileListResponse> responseObserver)
GetImplementationFiles is a RPC get all the existing implementation files. Accepts a Empty and returns a ImplementationFileListResponse message.
-
implementStub
public void implementStub(Messages.StubImplementationCodeRequest request, io.grpc.stub.StreamObserver<Messages.FileDiff> responseObserver)
ImplementStub is a RPC to to ask runner to add a given implementation to given file. Accepts a StubImplementationCodeRequest and returns a FileDiff message.
-
refactor
public void refactor(Messages.RefactorRequest request, io.grpc.stub.StreamObserver<Messages.RefactorResponse> responseObserver)
Refactor is a RPC to refactor a given step in implementation file. Accepts a RefactorRequest message and returns a RefactorResponse message.
-
kill
public void kill(Messages.KillProcessRequest request, io.grpc.stub.StreamObserver<Messages.Empty> responseObserver)
Kill is a RPC tell plugin to stop grpc server and kill the plugin process. Accepts a KillProcessRequest message and returns a Empty message.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-