Interface State.Item

  • Enclosing class:
    State

    public static interface State.Item
    An item in the state.
    • Method Detail

      • getName

        @Nonnull
        java.lang.String getName()
        Returns the name of the item.
        Returns:
        the name of the item
      • getString

        @Nonnull
        java.lang.String getString()
        Returns the value as string.
        Returns:
        the value as string
      • getBoolean

        boolean getBoolean()
        Returns the value as boolean. The conversion is following Boolean.parseBoolean(String) semantic.
        Returns:
        the value as boolean
      • getInt

        int getInt()
            throws java.lang.NumberFormatException
        Returns the value as int. The conversion is following Integer.parseInt(String) semantic.
        Returns:
        the value as int
        Throws:
        java.lang.NumberFormatException