Class PushProps

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable
Direct Known Subclasses:
EditorPushProps

public class PushProps extends PropCnr
The Push properties for the application.
Author:
Christopher Mindus
  • Field Details

    • FILE_NAME

      public static final String FILE_NAME
      The file name of the Push Notification properties container: ".iiziPush".
      See Also:
    • ATOM

      public static final Atom ATOM
      The atom for the Push Notification properties container: "$push".
    • TTL

      public static final String TTL
      The default Time-to-Live duration property: "TTL".
      See Also:
    • VAPID_PRIVATE_KEY

      public static final String VAPID_PRIVATE_KEY
      The private key property: "VPrivKey".
      See Also:
    • VAPID_PUBLIC_KEY

      public static final String VAPID_PUBLIC_KEY
      The public key property: "VPubKey".
      See Also:
    • APPLE_APP_ID

      public static final String APPLE_APP_ID
      The Apple App ID property: "appleID".
      See Also:
    • DEV_APNS

      public static final String DEV_APNS
      The Development PKCS#12 APNs identity for push messages using TLS to the Apple push notification server property: "devAPNs".
      See Also:
    • PROD_APNS

      public static final String PROD_APNS
      The Production PKCS#12 APNs identity for push messages using TLS to the Apple push notification server property: "prodAPNs".
      See Also:
  • Constructor Details

    • PushProps

      public PushProps()
      Creates a PushProps container without name and with a null value.
    • PushProps

      public PushProps(Atom propertyAtom)
      Creates a PushProps container with the specified name with a null value.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • clone

      public PushProps clone()
      Creates a clone out of this property.
      Overrides:
      clone in class PropCnr
      Returns:
      The clone of the PWAProps.
    • getPublicVAPIDKey

      public String getPublicVAPIDKey()
      Gets the VAPID public key.
      Returns:
      A Base64-encoded String containing an ECDSA P-256 public key that the push server will use to authenticate the server. Returns null if undefined.
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.