Class StateCounter

java.lang.Object
com.blukii.sdk.config.datatype.StateCounter

public final class StateCounter extends Object
This class represents data type StateCounter
See Also:
  • Constructor Details

    • StateCounter

      public StateCounter()
  • Method Details

    • getResets

      public int getResets()
      Gets the resets count.
      Returns:
      the resets count
    • setResets

      public void setResets(int resets)
      Sets the resets count.
      Parameters:
      resets - the resets count
    • getConnections

      public int getConnections()
      Gets the connections count.
      Returns:
      the connections count
    • setConnections

      public void setConnections(int connections)
      Sets the connections count.
      Parameters:
      connections - the connections count
    • getConnectionsAuthenticated

      public int getConnectionsAuthenticated()
      Gets the authenticated connections count.
      Returns:
      the authenticated connections count
    • setConnectionsAuthenticated

      public void setConnectionsAuthenticated(int connectionsAuthenticated)
      Sets the authenticated connections count.
      Parameters:
      connectionsAuthenticated - the authenticated connections count
    • getFactoryResets

      public int getFactoryResets()
      Gets the factory data resets count.
      Returns:
      the factory data resets count
    • setFactoryResets

      public void setFactoryResets(int factoryResets)
      Sets the factory data resets count.
      Parameters:
      factoryResets - the factory data resets count
    • getWatchdogResets

      public int getWatchdogResets()
      Gets the watchdog resets count.
      Returns:
      the watchdog resets count
    • setWatchdogRequests

      public void setWatchdogRequests(int watchdogResets)
      Sets the watchdog resets count.
      Parameters:
      watchdogResets - the watchdog resets count
    • validate

      public int validate()
      Validates the values contained in this object.

      This can be used when you create an object, to verify the values set.

      Returns:
      a state from Validation
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object