Class MicroserviceSubscriptionAddedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.cumulocity.microservice.subscription.model.MicroserviceSubscriptionAddedEvent
-
- All Implemented Interfaces:
HasCredentials
,Serializable
public class MicroserviceSubscriptionAddedEvent extends org.springframework.context.ApplicationEvent implements HasCredentials
An event to be emitted with the microservice credentials of newly added microservice subscription.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description MicroserviceSubscriptionAddedEvent(MicroserviceCredentials credentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
MicroserviceCredentials
getCredentials()
int
hashCode()
String
toString()
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Constructor Detail
-
MicroserviceSubscriptionAddedEvent
public MicroserviceSubscriptionAddedEvent(MicroserviceCredentials credentials)
-
-
Method Detail
-
getCredentials
public MicroserviceCredentials getCredentials()
- Specified by:
getCredentials
in interfaceHasCredentials
-
canEqual
protected boolean canEqual(Object other)
-
toString
public String toString()
- Overrides:
toString
in classEventObject
-
-