public boolean shouldPublish()

in src/main/java/com/cisco/gerrit/plugins/slack/message/WorkInProgressStateChangedGenerator.java [57:67]


  public boolean shouldPublish() {
    if (!config.isEnabled() || !config.shouldPublishOnWipReady()) {
      return false;
    }

    // If the change is still work-in-progress then ignore
    if (Boolean.TRUE.equals(event.change.get().wip)) {
      return false;
    }
    return true;
  }