Interface Script

All Superinterfaces:
BroadcastIndicator
All Known Subinterfaces:
LazyLoadingScript, TypedScript
All Known Implementing Classes:
ResourceLazyLoadingScript, StaticResourceScript, StaticScript

public interface Script extends BroadcastIndicator
A script that will be excuted.
Author:
kimchy
  • Method Details

    • getName

      String getName()
      The name of the script. Should uniquely identify scripts.
    • getType

      String getType()
      The type of the script (or actually, language). For example, groovy or ruby.
    • getScriptAsString

      String getScriptAsString()
      The script source as a string.
    • getParameters

      Map<String,Object> getParameters()
      One or more parameters that will be passes to the script.
    • getRouting

      Object getRouting()
      The routing index for the script. Can be null. Defaults to a random routing.
    • shouldCache

      boolean shouldCache()
      Should this script be cached or not. Defaults to true.
    • getMetaArguments

      Object[] getMetaArguments()
      Returns a set of meta arguments that are used for remote invocation.
      See Also: