Class BitwardsResource.AccessEvent

java.lang.Object
fi.bitwards.service.BitwardsResource.AccessEvent
Enclosing class:
BitwardsResource

public static final class BitwardsResource.AccessEvent extends Object
An access entry of the resource (resource event).
  • Field Details

    • ACCESS_GRANTED

      public static final int ACCESS_GRANTED
      Access to resource was granted.
      See Also:
    • ACCESS_DENIED

      public static final int ACCESS_DENIED
      Access to resource was denied.
      See Also:
    • ACCESS_ERROR

      public static final int ACCESS_ERROR
      During access event an error occured. Check error code for details.
      See Also:
  • Method Details

    • getAccessTime

      public Date getAccessTime()
      Get access time of this entry.
      Returns:
      the access time
    • getAccessType

      public int getAccessType()
      Get the access type of this entry.
      Returns:
      the access type
    • getErrorCode

      public int getErrorCode()
      Get the access error of this entry, if an error occured.
      Returns:
      the access type
    • hasMaintenanceError

      public boolean hasMaintenanceError()
      Was the resource maintenance successful or erroneous during this access attempt.
      Returns:
      true if resource maintenance was erroneous during this access event, false if there was no maintenance error.