Class SlackConfirmationField

    • Constructor Detail

      • SlackConfirmationField

        public SlackConfirmationField()
        No args constructor for use in serialization
      • SlackConfirmationField

        public SlackConfirmationField​(String dismissText,
                                      String okText,
                                      String text,
                                      String title)
    • Method Detail

      • getDismissText

        public String getDismissText()
        dismissText defines the label for the cancel button in the dialog. When not specified, defaults to "Cancel". This button cancels the action.
      • setDismissText

        public void setDismissText​(String dismissText)
        dismissText defines the label for the cancel button in the dialog. When not specified, defaults to "Cancel". This button cancels the action.
      • getOkText

        public String getOkText()
        okText defines the label for the confirmation button in the dialog. When not specified, defaults to "Okay". This button proceeds with the action.
      • setOkText

        public void setOkText​(String okText)
        okText defines the label for the confirmation button in the dialog. When not specified, defaults to "Okay". This button proceeds with the action.
      • getText

        public String getText()
        text defines the main message displayed in the confirmation dialog. This should be a clear question or statement asking the user to confirm their action.
      • setText

        public void setText​(String text)
        text defines the main message displayed in the confirmation dialog. This should be a clear question or statement asking the user to confirm their action.
      • getTitle

        public String getTitle()
        title defines the title text displayed at the top of the confirmation dialog. When not specified, a default title will be used.
      • setTitle

        public void setTitle​(String title)
        title defines the title text displayed at the top of the confirmation dialog. When not specified, a default title will be used.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)