Interface JSAlert

  • All Superinterfaces:
    JSValue
    All Known Implementing Classes:
    JSAlertImpl

    public interface JSAlert
    extends JSValue
    User: mike Date: 10/25/19 Time: 12:46
    • Field Detail

      • alertActionDisplay

        static final String alertActionDisplay
        The alert should be displayed as appropriate for the current device and user context.
        See Also:
        Constant Field Values
      • alertActionEmail

        static final String alertActionEmail
        The alert should trigger an email sent out to the user, notifying about the alert. This action is typically only appropriate for server implementations.
        See Also:
        Constant Field Values
    • Method Detail

      • setTrigger

        void setTrigger​(JSTrigger val)
      • makeAbsoluteTrigger

        JSAbsoluteTrigger makeAbsoluteTrigger()
        Returns:
        an absolute trigger. Will be set in alert.
      • makeOffsetTrigger

        JSOffsetTrigger makeOffsetTrigger()
        Returns:
        an offset trigger. Will be set in alert.
      • setAction

        void setAction​(String val)
      • getAction

        String getAction()
      • getRelatedTo

        JSRelations getRelatedTo​(boolean create)
        Parameters:
        create - true if we create property if it doesn't exist
        Returns:
        relations object