Class AccessLogParameters

    • Constructor Detail

      • AccessLogParameters

        public AccessLogParameters​(java.util.Map<StorageLogbookParameterName,​java.lang.String> mapParameters)
        Set directly at least all mandatory parameters in the AccessLogParameters. This constructor checks if all mandatory parameters are set
        Parameters:
        mapParameters - The initial parameters (MUST contains mandatory parameters
        Throws:
        StorageException
    • Method Detail

      • getEventDateTime

        public java.time.LocalDateTime getEventDateTime()
        Get the event date time as a local date time
        Returns:
        the local date time as a LocalDateTime
      • setStatus

        public AccessLogParameters setStatus​(StorageLogbookOutcome outcome)
        set The status of the operation
        Parameters:
        outcome - the outcome
        Returns:
        the AccessLogParameters after the parameter has been added
      • getStatus

        public StorageLogbookOutcome getStatus()
        Get the status as an outcome
        Returns:
        the status as a StorageLogbookOutcome
      • checkMandatoryParameters

        public void checkMandatoryParameters()
                                      throws java.lang.IllegalArgumentException
        Check if mandatories parameters are not empty or null
        Throws:
        java.lang.IllegalArgumentException - thrown when one parameter is empty or null