public void setEnabled(boolean isEnabled) {
    this.isEnabled = isEnabled ? (short) 1 : (short) 0;
  }
Sets whether the alert target is enabled. Targets which are not enabled
will not receive notifications.

@param isEnabled
         {@code} if the target is enabled.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java