Class RefreshClusterLifecycleStateEvent
- java.lang.Object
-
- com.atlassian.bamboo.cluster.event.AbstractCrossNodesEvent<CrossNodesCommunication.RefreshClusterLifecycleStateRequest>
-
- com.atlassian.bamboo.cluster.event.serverlifecycle.RefreshClusterLifecycleStateEvent
-
- All Implemented Interfaces:
CrossNodesEvent
,Serializable
public class RefreshClusterLifecycleStateEvent extends AbstractCrossNodesEvent<CrossNodesCommunication.RefreshClusterLifecycleStateRequest> implements CrossNodesEvent, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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 RefreshClusterLifecycleStateEvent
create()
@NotNull CrossNodesEvent.Type
getType()
Returns the type of the event.boolean
isEmpty()
Returns whether the event is empty.void
send(@NotNull CrossNodesEventsServiceGrpc.CrossNodesEventsServiceStub stub, @NotNull MetadataInfo metadataInfo, @NotNull io.grpc.stub.StreamObserver<CrossNodesCommunication.CommonResponse> responseObserver)
CrossNodesCommunication.RefreshClusterLifecycleStateRequest
toGrpcRequestMessage(@NotNull MetadataInfo metadataInfo)
@NotNull String
toString()
Returns a string representation of the object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.cluster.event.CrossNodesEvent
equals, hashCode, isNotEmpty
-
-
-
-
Method Detail
-
create
public static RefreshClusterLifecycleStateEvent create()
-
getType
@NotNull public @NotNull CrossNodesEvent.Type getType()
Description copied from interface:CrossNodesEvent
Returns the type of the event.- Specified by:
getType
in interfaceCrossNodesEvent
- Returns:
- the type of the event
-
isEmpty
public boolean isEmpty()
Description copied from interface:CrossNodesEvent
Returns whether the event is empty. May be needed to avoid sending empty events.- Specified by:
isEmpty
in interfaceCrossNodesEvent
- Returns:
- true if the event is empty, false otherwise.
-
toGrpcRequestMessage
@NotNull public CrossNodesCommunication.RefreshClusterLifecycleStateRequest toGrpcRequestMessage(@NotNull @NotNull MetadataInfo metadataInfo)
- Specified by:
toGrpcRequestMessage
in classAbstractCrossNodesEvent<CrossNodesCommunication.RefreshClusterLifecycleStateRequest>
-
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.RefreshClusterLifecycleStateRequest>
-
toString
@NotNull public @NotNull String toString()
Description copied from interface:CrossNodesEvent
Returns a string representation of the object.- Specified by:
toString
in interfaceCrossNodesEvent
- Overrides:
toString
in classObject
- Returns:
- a string representation of the object
-
-