Package gauge.messages
Class RunnerGrpc.RunnerFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<RunnerGrpc.RunnerFutureStub>
-
- gauge.messages.RunnerGrpc.RunnerFutureStub
-
- Enclosing class:
- RunnerGrpc
public static final class RunnerGrpc.RunnerFutureStub extends io.grpc.stub.AbstractStub<RunnerGrpc.RunnerFutureStub>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RunnerGrpc.RunnerFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<Messages.Empty>cacheFile(Messages.CacheFileRequest request)CacheFile is a RPC to tell runner to load/reload/unload a implementation file.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>executeStep(Messages.ExecuteStepRequest request)ExecuteStep is a RPC to tell runner to execute a step .com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>finishExecution(Messages.ExecutionEndingRequest request)ExecutionEnding is a RPC to tell runner to execute suite level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>finishScenarioExecution(Messages.ScenarioExecutionEndingRequest request)ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>finishSpecExecution(Messages.SpecExecutionEndingRequest request)SpecExecutionEnding is a RPC to tell runner to execute spec level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>finishStepExecution(Messages.StepExecutionEndingRequest request)StepExecutionEnding is a RPC to tell runner to execute step level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ImplementationFileGlobPatternResponse>getGlobPatterns(Messages.Empty request)GetGlobPatterns is a RPC to get the file path pattern which needs to be cached.com.google.common.util.concurrent.ListenableFuture<Messages.ImplementationFileListResponse>getImplementationFiles(Messages.Empty request)GetImplementationFiles is a RPC get all the existing implementation files.com.google.common.util.concurrent.ListenableFuture<Messages.StepNameResponse>getStepName(Messages.StepNameRequest request)GetStepName is a RPC to get information about the given step.com.google.common.util.concurrent.ListenableFuture<Messages.StepNamesResponse>getStepNames(Messages.StepNamesRequest request)GetStepNames is a RPC to get all the available steps from the runner.com.google.common.util.concurrent.ListenableFuture<Messages.StepPositionsResponse>getStepPositions(Messages.StepPositionsRequest request)GetStepPositions is a RPC to get positions of all available steps in a given file.com.google.common.util.concurrent.ListenableFuture<Messages.FileDiff>implementStub(Messages.StubImplementationCodeRequest request)ImplementStub is a RPC to to ask runner to add a given implementation to given file.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>initializeScenarioDataStore(Messages.ScenarioDataStoreInitRequest request)ScenarioDataStoreInit is a RPC to initialize the scenario level data store.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>initializeSpecDataStore(Messages.SpecDataStoreInitRequest request)SpecDataStoreInit is a RPC to initialize the spec level data store.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>initializeSuiteDataStore(Messages.SuiteDataStoreInitRequest request)SuiteDataStoreInit is a RPC to initialize the suite level data store.com.google.common.util.concurrent.ListenableFuture<Messages.Empty>kill(Messages.KillProcessRequest request)Kill is a RPC tell plugin to stop grpc server and kill the plugin process.com.google.common.util.concurrent.ListenableFuture<Messages.RefactorResponse>refactor(Messages.RefactorRequest request)Refactor is a RPC to refactor a given step in implementation file.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>startExecution(Messages.ExecutionStartingRequest request)ExecutionStarting is a RPC to tell runner to execute Suite level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>startScenarioExecution(Messages.ScenarioExecutionStartingRequest request)ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>startSpecExecution(Messages.SpecExecutionStartingRequest request)SpecExecutionStarting is a RPC to tell runner to execute spec level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse>startStepExecution(Messages.StepExecutionStartingRequest request)StepExecutionStarting is a RPC to tell runner to execute step level hooks.com.google.common.util.concurrent.ListenableFuture<Messages.StepValidateResponse>validateStep(Messages.StepValidateRequest request)ValidateStep is a RPC to validate a given step.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected RunnerGrpc.RunnerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<RunnerGrpc.RunnerFutureStub>
-
validateStep
public com.google.common.util.concurrent.ListenableFuture<Messages.StepValidateResponse> validateStep(Messages.StepValidateRequest request)
ValidateStep is a RPC to validate a given step. Accepts a StepValidateRequest message and returns a StepValidateResponse message
-
initializeSuiteDataStore
public com.google.common.util.concurrent.ListenableFuture<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
public com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse> startExecution(Messages.ExecutionStartingRequest request)
ExecutionStarting is a RPC to tell runner to execute Suite level hooks. Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message
-
initializeSpecDataStore
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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
public com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse> executeStep(Messages.ExecuteStepRequest request)
ExecuteStep is a RPC to tell runner to execute a step . Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message
-
finishStepExecution
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<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
public com.google.common.util.concurrent.ListenableFuture<Messages.ExecutionStatusResponse> finishExecution(Messages.ExecutionEndingRequest request)
ExecutionEnding is a RPC to tell runner to execute suite level hooks. Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message
-
cacheFile
public com.google.common.util.concurrent.ListenableFuture<Messages.Empty> cacheFile(Messages.CacheFileRequest request)
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 com.google.common.util.concurrent.ListenableFuture<Messages.StepNameResponse> getStepName(Messages.StepNameRequest request)
GetStepName is a RPC to get information about the given step. Accepts a StepNameRequest message and returns a StepNameResponse message.
-
getGlobPatterns
public com.google.common.util.concurrent.ListenableFuture<Messages.ImplementationFileGlobPatternResponse> getGlobPatterns(Messages.Empty request)
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 com.google.common.util.concurrent.ListenableFuture<Messages.StepNamesResponse> getStepNames(Messages.StepNamesRequest request)
GetStepNames is a RPC to get all the available steps from the runner. Accepts a StepNamesRequest message and returns a StepNamesResponse
-
getStepPositions
public com.google.common.util.concurrent.ListenableFuture<Messages.StepPositionsResponse> getStepPositions(Messages.StepPositionsRequest request)
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 com.google.common.util.concurrent.ListenableFuture<Messages.ImplementationFileListResponse> getImplementationFiles(Messages.Empty request)
GetImplementationFiles is a RPC get all the existing implementation files. Accepts a Empty and returns a ImplementationFileListResponse message.
-
implementStub
public com.google.common.util.concurrent.ListenableFuture<Messages.FileDiff> implementStub(Messages.StubImplementationCodeRequest request)
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 com.google.common.util.concurrent.ListenableFuture<Messages.RefactorResponse> refactor(Messages.RefactorRequest request)
Refactor is a RPC to refactor a given step in implementation file. Accepts a RefactorRequest message and returns a RefactorResponse message.
-
kill
public com.google.common.util.concurrent.ListenableFuture<Messages.Empty> kill(Messages.KillProcessRequest request)
Kill is a RPC tell plugin to stop grpc server and kill the plugin process. Accepts a KillProcessRequest message and returns a Empty message.
-
-