TemplateModel (Access Logger ASL Extension 1.3.0-4.1.0-125698 API)
Date: 2016-10-27

org.gcube.application.framework.accesslogger.model

## Class TemplateModel

- java.lang.Object
- - org.gcube.application.framework.accesslogger.model.TemplateModel

-     public class TemplateModel
      extends Object

  Template for each entry of the access log
  Author:
    Panagiota Koltsida, NKUA

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TemplateModel(String user, String vre, String entryType, String message, Date currentDate)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `createEntryLine()` Creates an entry line for the log

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TemplateModel

          public TemplateModel(String user,
                               String vre,
                               String entryType,
                               String message,
                               Date currentDate)

      Constructor
      Parameters:
        `user` - The username of the user
        `vre` - The VRE that is used
        `entryType` - The type of entry
        `message` - The message to be logged
        `currentDate` - The current date

  - ### Method Detail

    - #### createEntryLine

          public String createEntryLine()

      Creates an entry line for the log
      Returns:
        The log entry as a String

Copyright © 2016. All Rights Reserved.