org.keycloak.models

## Interface ScriptModel

- All Known Implementing Classes:
    Script

      public interface ScriptModel

  Denotes an executable Script with metadata.
  Author:
    Thomas Darimont

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCode()` Returns the actual source code of the script.
    `String` | `getDescription()` Returns the description of the script.
    `String` | `getId()` Returns the unique id of the script.
    `String` | `getMimeType()` Returns the MIME-type if the script code, e.g.
    `String` | `getName()` Returns the name of the script.
    `String` | `getRealmId()` Returns the realm id in which the script was defined.

- - ### Method Detail

    - #### getId

          String getId()

      Returns the unique id of the script. null for ad-hoc created scripts.

    - #### getRealmId

          String getRealmId()

      Returns the realm id in which the script was defined.

    - #### getName

          String getName()

      Returns the name of the script.

    - #### getMimeType

          String getMimeType()

      Returns the MIME-type if the script code, e.g. for Java Script the MIME-type, `text/javascript` is used.

    - #### getCode

          String getCode()

      Returns the actual source code of the script.

    - #### getDescription

          String getDescription()

      Returns the description of the script.

Copyright © 2016 JBoss by Red Hat. All rights reserved.