Class ServiceRemovedCDEvent


  • public class ServiceRemovedCDEvent
    extends CDEvent
    • Constructor Detail

      • ServiceRemovedCDEvent

        public ServiceRemovedCDEvent()
        Constructor to init CDEvent and set the Subject for ServiceRemovedCDEvent.
    • Method Detail

      • schemaURL

        public String schemaURL()
        Specified by:
        schemaURL in class CDEvent
        Returns:
        the service-Removed-event schema URL
      • eventSchema

        public String eventSchema()
        Specified by:
        eventSchema in class CDEvent
        Returns:
        the service-Removed-event schema Json
      • setSubjectId

        public void setSubjectId​(String subjectId)
        Parameters:
        subjectId - sets the subject Id
      • setSubjectSource

        public void setSubjectSource​(URI subjectSource)
        Parameters:
        subjectSource - sets the subject source
      • setSubjectEnvironmentId

        public void setSubjectEnvironmentId​(String environmentId)
        Parameters:
        environmentId - sets the environmentId that this service belongs to
      • setSubjectEnvironmentSource

        public void setSubjectEnvironmentSource​(URI environmentSource)
        Parameters:
        environmentSource - sets the environmentSource that this service belongs to