Class UpgradePluginEvent
- java.lang.Object
-
- com.atlassian.bamboo.cluster.event.AbstractCrossNodesEvent<R>
-
- com.atlassian.bamboo.cluster.event.plugin.AbstractPluginEvent<CrossNodesCommunication.UpgradePluginRequest>
-
- com.atlassian.bamboo.cluster.event.plugin.UpgradePluginEvent
-
- All Implemented Interfaces:
CrossNodesEvent
,Serializable
public final class UpgradePluginEvent extends AbstractPluginEvent<CrossNodesCommunication.UpgradePluginRequest>
Data holder for upgrade plugin event.- Since:
- 9.5
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpgradePluginEvent.Builder
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.cluster.event.plugin.AbstractPluginEvent
AbstractPluginEvent.AbstractPluginEventBuilder<T extends AbstractPluginEvent<?>,B extends AbstractPluginEvent.AbstractPluginEventBuilder<T,B>>
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
CrossNodesEvent.Type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpgradePluginEvent.Builder
newBuilder()
void
send(@NotNull CrossNodesEventsServiceGrpc.CrossNodesEventsServiceStub stub, @NotNull MetadataInfo metadataInfo, @NotNull io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver)
protected CrossNodesCommunication.UpgradePluginRequest
toGrpcRequestMessage(@NotNull MetadataInfo metadataInfo, String pluginKey, int pluginsVersion, String pluginName)
-
Methods inherited from class com.atlassian.bamboo.cluster.event.plugin.AbstractPluginEvent
equals, 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 Detail
-
toGrpcRequestMessage
@NotNull protected CrossNodesCommunication.UpgradePluginRequest toGrpcRequestMessage(@NotNull @NotNull MetadataInfo metadataInfo, String pluginKey, int pluginsVersion, String pluginName)
- Specified by:
toGrpcRequestMessage
in classAbstractPluginEvent<CrossNodesCommunication.UpgradePluginRequest>
-
send
public void send(@NotNull CrossNodesEventsServiceGrpc.CrossNodesEventsServiceStub stub, @NotNull @NotNull MetadataInfo metadataInfo, @NotNull @NotNull io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver)
- Specified by:
send
in classAbstractCrossNodesEvent<CrossNodesCommunication.UpgradePluginRequest>
-
newBuilder
public static UpgradePluginEvent.Builder newBuilder()
-
-