Package org.keycloak.models
Interface ScriptModel
-
- All Known Implementing Classes:
Script
public interface ScriptModelA representation of a Script with some additional meta-data.- Author:
- Thomas Darimont
-
-
Field Summary
Fields Modifier and Type Field Description static StringTEXT_JAVASCRIPTMIME-Type for JavaScript
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCode()Returns the actual source code of the script.StringgetDescription()Returns the description of the script.StringgetId()Returns the unique id of the script.StringgetMimeType()Returns the MIME-type if the script code, e.g.StringgetName()Returns the name of the script.StringgetRealmId()Returns the realm id in which the script was defined.
-
-
-
Field Detail
-
TEXT_JAVASCRIPT
static final String TEXT_JAVASCRIPT
MIME-Type for JavaScript- See Also:
- Constant Field Values
-
-
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/javascriptis used.
-
getCode
String getCode()
Returns the actual source code of the script.
-
getDescription
String getDescription()
Returns the description of the script.
-
-