Package gauge.messages
Class RunnerGrpc.RunnerBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RunnerGrpc.RunnerBlockingStub>
gauge.messages.RunnerGrpc.RunnerBlockingStub
- Enclosing class:
- RunnerGrpc
public static final class RunnerGrpc.RunnerBlockingStub
extends io.grpc.stub.AbstractBlockingStub<RunnerGrpc.RunnerBlockingStub>
A stub to allow clients to do synchronous rpc calls to service Runner.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected RunnerGrpc.RunnerBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) cacheFile(Messages.CacheFileRequest request) CacheFile is a RPC to tell runner to load/reload/unload a implementation file.executeStep(Messages.ExecuteStepRequest request) ExecuteStep is a RPC to tell runner to execute a step .ExecutionEnding is a RPC to tell runner to execute suite level hooks.ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks.SpecExecutionEnding is a RPC to tell runner to execute spec level hooks.StepExecutionEnding is a RPC to tell runner to execute step level hooks.getGlobPatterns(Messages.Empty request) GetGlobPatterns is a RPC to get the file path pattern which needs to be cached.getImplementationFiles(Messages.Empty request) GetImplementationFiles is a RPC get all the existing implementation files.getStepName(Messages.StepNameRequest request) GetStepName is a RPC to get information about the given step.getStepNames(Messages.StepNamesRequest request) GetStepNames is a RPC to get all the available steps from the runner.GetStepPositions is a RPC to get positions of all available steps in a given file.ImplementStub is a RPC to to ask runner to add a given implementation to given file.ScenarioDataStoreInit is a RPC to initialize the scenario level data store.SpecDataStoreInit is a RPC to initialize the spec level data store.SuiteDataStoreInit is a RPC to initialize the suite level data store.kill(Messages.KillProcessRequest request) Kill is a RPC tell plugin to stop grpc server and kill the plugin process.NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished.NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started.refactor(Messages.RefactorRequest request) Refactor is a RPC to refactor a given step in implementation file.ExecutionStarting is a RPC to tell runner to execute Suite level hooks.ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks.SpecExecutionStarting is a RPC to tell runner to execute spec level hooks.StepExecutionStarting is a RPC to tell runner to execute step level hooks.validateStep(Messages.StepValidateRequest request) ValidateStep is a RPC to validate a given step.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RunnerGrpc.RunnerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RunnerGrpc.RunnerBlockingStub>
-
validateStep
ValidateStep is a RPC to validate a given step. Accepts a StepValidateRequest message and returns a StepValidateResponse message
-
initializeSuiteDataStore
public Messages.ExecutionStatusResponse initializeSuiteDataStore(Messages.SuiteDataStoreInitRequest request) SuiteDataStoreInit is a RPC to initialize the suite level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startExecution
ExecutionStarting is a RPC to tell runner to execute Suite level hooks. Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
initializeSpecDataStore
public Messages.ExecutionStatusResponse initializeSpecDataStore(Messages.SpecDataStoreInitRequest request) SpecDataStoreInit is a RPC to initialize the spec level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startSpecExecution
public Messages.ExecutionStatusResponse startSpecExecution(Messages.SpecExecutionStartingRequest request) SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
initializeScenarioDataStore
public Messages.ExecutionStatusResponse initializeScenarioDataStore(Messages.ScenarioDataStoreInitRequest request) ScenarioDataStoreInit is a RPC to initialize the scenario level data store. Accepts a Empty message and returns a ExecutionStatusResponse message
-
startScenarioExecution
public Messages.ExecutionStatusResponse startScenarioExecution(Messages.ScenarioExecutionStartingRequest request) ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
startStepExecution
public Messages.ExecutionStatusResponse startStepExecution(Messages.StepExecutionStartingRequest request) StepExecutionStarting is a RPC to tell runner to execute step level hooks. Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
executeStep
ExecuteStep is a RPC to tell runner to execute a step . Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message
-
finishStepExecution
public Messages.ExecutionStatusResponse finishStepExecution(Messages.StepExecutionEndingRequest request) StepExecutionEnding is a RPC to tell runner to execute step level hooks. Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishScenarioExecution
public Messages.ExecutionStatusResponse finishScenarioExecution(Messages.ScenarioExecutionEndingRequest request) ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishSpecExecution
public Messages.ExecutionStatusResponse finishSpecExecution(Messages.SpecExecutionEndingRequest request) SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
finishExecution
ExecutionEnding is a RPC to tell runner to execute suite level hooks. Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
cacheFile
CacheFile is a RPC to tell runner to load/reload/unload a implementation file. Accepts a CacheFileRequest message and returns a Empty message
-
getStepName
GetStepName is a RPC to get information about the given step. Accepts a StepNameRequest message and returns a StepNameResponse message.
-
getGlobPatterns
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
GetStepNames is a RPC to get all the available steps from the runner. Accepts a StepNamesRequest message and returns a StepNamesResponse
-
getStepPositions
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
GetImplementationFiles is a RPC get all the existing implementation files. Accepts a Empty and returns a ImplementationFileListResponse message.
-
implementStub
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
Refactor is a RPC to refactor a given step in implementation file. Accepts a RefactorRequest message and returns a RefactorResponse message.
-
kill
Kill is a RPC tell plugin to stop grpc server and kill the plugin process. Accepts a KillProcessRequest message and returns a Empty message.
-
notifyConceptExecutionStarting
public Messages.ExecutionStatusResponse notifyConceptExecutionStarting(Messages.ConceptExecutionStartingRequest request) NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. Accepts a ConceptExecutionStartingRequest message and returns an ExecutionStatusResponse message
-
notifyConceptExecutionEnding
public Messages.ExecutionStatusResponse notifyConceptExecutionEnding(Messages.ConceptExecutionEndingRequest request) NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. Accepts a ConceptExecutionEndingRequest message and returns an ExecutionStatusResponse message
-