Interface Script

All Superinterfaces:
org.craftercms.core.util.cache.CachingAwareObject
All Known Implementing Classes:
GroovyScript

public interface Script extends org.craftercms.core.util.cache.CachingAwareObject
Simple interface for scripts in some non-Java language (Groovy, Jython, Javascript, etc) that can be retrieved from the Crafter content store and executed inside the JVM.
Author:
Alfonso Vásquez
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Map<String,Object> variables)
     
     

    Methods inherited from interface org.craftercms.core.util.cache.CachingAwareObject

    getCachingTime, getKey, getScope, setCachingTime, setKey, setScope