Class NotifyAction

java.lang.Object
org.deltava.beans.system.NotifyAction

public class NotifyAction extends Object
A class to store Push Notification action data.
Since:
10.0
Version:
10.0
Author:
Luke
  • Method Details

    • create

      public static NotifyAction create(NotifyActionType nt, Object id)
      Creates a new NotifyAction.
      Parameters:
      nt - the NotifyActionType
      id - an optional ID for the URL
      Returns:
      a NotifyAction
    • getDescription

      public String getDescription()
      Returns the action description.
      Returns:
      the description
    • getURL

      public String getURL()
      Returns the action URL to open.
      Returns:
      the URL without any hostname or protocol
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object