Interface PublishService.InvalidMessage

Enclosing interface:
PublishService

public static interface PublishService.InvalidMessage
Callback for validateBeforePublish()
  • Method Details

    • setTitle

      void setTitle(String title)
    • setDescription

      void setDescription(String description)
    • setErrorInProfile

      default void setErrorInProfile(String title, String question, PublishService.ProfileEditorKey key)
      Also called if an error occurs in validation that can be fixed.
      Parameters:
      title - Dialog title
      question - Question passed to the user if they want to edit the profile
      key - what in the profile that needs correcting, passed to editProfile()