operator/src/main/java/oracle/kubernetes/operator/DomainProcessorImpl.java
public void dispatchDomainWatch(Watch.Response<Domain> item) {
    switch (item.type) {
      case "ADDED":
        handleAddedDomain(item.object);
        break;
      case "MODIFIED":
        handleModifiedDomain(item.object);
        break;
      case "DELETED":
        handleDeletedDomain(item.object);
        break;

      case "ERROR":
      default:
    }
  }
/**
   * Dispatch the Domain event to the appropriate handler.
   *
   * @param item An item received from a Watch response.
   */
Dispatch the Domain event to the appropriate handler.
@param item An item received from a Watch response.
Dispatch the Domain event to the appropriate handler . @param item An item received from a Watch response .
public void dispatchDomainWatch(Watch.Response<Domain> item) {
    switch (item.type) {
      case "ADDED":
        handleAddedDomain(item.object);
        break;
      case "MODIFIED":
        handleModifiedDomain(item.object);
        break;
      case "DELETED":
        handleDeletedDomain(item.object);
        break;
      case "ERROR":
      default:
    }
  }
public void dispatchDomainWatch ( Watch . Response < Domain > item ) { switch ( item . type ) { case "ADDED" : handleAddedDomain ( item . object ) ; break ; case "MODIFIED" : handleModifiedDomain ( item . object ) ; break ; case "DELETED" : handleDeletedDomain ( item . object ) ; break ; case "ERROR" : default : } }
Dispatch the Domain event to the appropriate handler.
Dispatch the Domain event to the appropriate handler .