org.keycloak.representations.adapters.action

## Class UserStatsAction

- java.lang.Object
- - org.keycloak.representations.adapters.action.AdminAction
  - - org.keycloak.representations.adapters.action.UserStatsAction

-     public class UserStatsAction
      extends AdminAction

  Query session stats.
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `user`
    `static String` | `USER_STATS`

    - ### Fields inherited from class org.keycloak.representations.adapters.action.AdminAction

      `action, expiration, id, resource`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserStatsAction()`
    `UserStatsAction(String id, int expiration, String resource, String user)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getUser()`
    `boolean` | `validate()`

    - ### Methods inherited from class org.keycloak.representations.adapters.action.AdminAction

      `getAction, getExpiration, getId, getResource, isExpired, setAction, setExpiration, setId, setResource`

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

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

- - ### Field Detail

    - #### USER_STATS

          public static final String USER_STATS

      See Also:
        Constant Field Values

    - #### user

          protected String user

  - ### Constructor Detail

    - #### UserStatsAction

          public UserStatsAction()

    - #### UserStatsAction

          public UserStatsAction(String id,
                         int expiration,
                         String resource,
                         String user)

  - ### Method Detail

    - #### getUser

          public String getUser()

    - #### validate

          public boolean validate()

      Specified by:
        `validate` in class `AdminAction`

Copyright © 2014. All Rights Reserved.