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 SummaryFields Modifier and Type Field Description static StringTEXT_JAVASCRIPTMIME-Type for JavaScript
 - 
Method SummaryAll 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_JAVASCRIPTstatic final String TEXT_JAVASCRIPT MIME-Type for JavaScript- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIdString getId() Returns the unique id of the script. null for ad-hoc created scripts.
 - 
getRealmIdString getRealmId() Returns the realm id in which the script was defined.
 - 
getNameString getName() Returns the name of the script.
 - 
getMimeTypeString getMimeType() Returns the MIME-type if the script code, e.g. for Java Script the MIME-type,text/javascriptis used.
 - 
getCodeString getCode() Returns the actual source code of the script.
 - 
getDescriptionString getDescription() Returns the description of the script.
 
- 
 
-