Class InstallPluginEvent
java.lang.Object
com.atlassian.bamboo.cluster.event.AbstractCrossNodesEvent<R,PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceStub>
com.atlassian.bamboo.cluster.event.plugin.PluginCrossNodesEvent<CrossNodesCommunication.InstallPluginRequest>
com.atlassian.bamboo.cluster.event.plugin.InstallPluginEvent
- All Implemented Interfaces:
CrossNodesEvent
,Serializable
public final class InstallPluginEvent
extends PluginCrossNodesEvent<CrossNodesCommunication.InstallPluginRequest>
Data holder for install plugin event.
- Since:
- 9.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.cluster.event.plugin.PluginCrossNodesEvent
PluginCrossNodesEvent.AbstractPluginEventBuilder<T extends PluginCrossNodesEvent<?>,
B extends PluginCrossNodesEvent.AbstractPluginEventBuilder<T, B>> Nested classes/interfaces inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
CrossNodesEvent.Type
-
Method Summary
Modifier and TypeMethodDescriptionstatic InstallPluginEvent.Builder
void
send
(@NotNull PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceStub stub, @NotNull MetadataInfo metadataInfo, @NotNull io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) Sends a gRPC request using the event specific data, provided stub and metadata information, and observes the response.toGrpcRequestMessage
(@NotNull MetadataInfo metadataInfo, String pluginKey, int pluginsVersion, String pluginName) Methods inherited from class com.atlassian.bamboo.cluster.event.plugin.PluginCrossNodesEvent
equals, getStubClass, getType, hashCode, isEmpty, toGrpcRequestMessage, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
isNotEmpty
-
Method Details
-
toGrpcRequestMessage
@NotNull protected CrossNodesCommunication.InstallPluginRequest toGrpcRequestMessage(@NotNull @NotNull MetadataInfo metadataInfo, String pluginKey, int pluginsVersion, String pluginName) - Specified by:
toGrpcRequestMessage
in classPluginCrossNodesEvent<CrossNodesCommunication.InstallPluginRequest>
-
send
public void send(@NotNull PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceStub stub, @NotNull @NotNull MetadataInfo metadataInfo, @NotNull @NotNull io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver) Description copied from class:AbstractCrossNodesEvent
Sends a gRPC request using the event specific data, provided stub and metadata information, and observes the response.- Specified by:
send
in classAbstractCrossNodesEvent<CrossNodesCommunication.InstallPluginRequest,
PluginCrossNodesEventsServiceGrpc.PluginCrossNodesEventsServiceStub> - Parameters:
stub
- The gRPC stub instance used to send the request.metadataInfo
- Metadata information associated with the request.responseObserver
- Observer for handling responses from the server.
-
newBuilder
-