Class AtmospherePushConnection.AbstractJSO

    • Constructor Detail

      • AbstractJSO

        protected AbstractJSO()
        JavaScriptObject constructor.
    • Method Detail

      • getStringValue

        protected final String getStringValue​(String key)
        Gets the given property value as a String.
        Parameters:
        key - the key of the property
        Returns:
        the property value
      • setStringValue

        protected final void setStringValue​(String key,
                                            String value)
        Sets the given property value as a String.
        Parameters:
        key - the key of the property
        value - the property value
      • getIntValue

        protected final int getIntValue​(String key)
        Gets the given property value as an int.
        Parameters:
        key - the key of the property
        Returns:
        the property value
      • setIntValue

        protected final void setIntValue​(String key,
                                         int value)
        Sets the given property value as an int.
        Parameters:
        key - the key of the property
        value - the property value
      • getBooleanValue

        protected final boolean getBooleanValue​(String key)
        Gets the given property value as a boolean.
        Parameters:
        key - the key of the property
        Returns:
        the property value
      • setBooleanValue

        protected final void setBooleanValue​(String key,
                                             boolean value)
        Sets the given property value as a boolean.
        Parameters:
        key - the key of the property
        value - the property value