com.arsdigita.runtime
Interface Script
- All Superinterfaces:
- ParameterContext
- All Known Implementing Classes:
- AbstractScript
- public interface Script
- extends ParameterContext
The Script interface provides an extension point for CCM Developers
to write paramaterizable chunks of code intended for execution in
various contexts. The Script interface builds on the parameter
system in order to allow a
context independent means for Script implementers to access
parameter values. Implementors of the Script interface should
extend the AbstractScript
class.
- Version:
- $Revision: #5 $ $Date: 2004/04/07 $
- Author:
- Rafael H. Schloming <rhs@mit.edu>
Method Summary |
void |
run(ScriptContext context)
This method is invoked in order to execute the script. |
versionId
public static final String versionId
- See Also:
- Constant Field Values
run
public void run(ScriptContext context)
- This method is invoked in order to execute the script. The
implementor of the script should use the persistent session
provided by the given ScriptContext.
- Parameters:
context
- The context in which the script is to execute.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC