| Modifier and Type | Class and Description |
|---|---|
class |
CodeExit<T>
A CodeExit is an
IFunctor implemented in a "foreign" language such as
a scripting language or a proprietary syntax. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IFunctorFactory<T,F extends IFunctor<T>>
A factory for
IFunctor objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
ArgsCruncher
A functor that creates and manipulates input
IArgs based on
instructions it receives. |
class |
CommonFunctor<T>
A common superclass for implementing
IFunctor. |
class |
ConstantFunctor
A common utility
IFunctor returning a constant value. |
class |
DeclarationFunctor<T>
|
class |
EchoFunctor
Echo the incoming arguments.
|
class |
ExpressionEvaluatorFunctor |
class |
NullFunctor
A common utility
IFunctor doing just nothing. |
class |
TemplateEvaluatorFunctor |
| Modifier and Type | Field and Description |
|---|---|
static IFunctor<String> |
ArgTools.toString |
| Modifier and Type | Method and Description |
|---|---|
static IFunctor |
FunctorTools.createFunctor(Object value,
Object defaultValue)
Create an
IFunctor from an object. |
IFunctor |
ArgumentDeclaration.getDefaultFunctor() |
IFunctor |
DeclarationFunctor.getFunctor() |
IFunctor[] |
IFunctorRegistry.getFunctors()
The collection of all registered
IFunctor instances. |
IFunctor |
FunctorFieldHandler.getGetter() |
IFunctor |
FunctorMethodHandler.getInvoker() |
IFunctor |
FunctorFieldHandler.getSetter() |
IFunctor |
IFunctorRegistry.lookupFunctor(String id)
|
| Modifier and Type | Method and Description |
|---|---|
static IMethodHandler |
FunctorMethodHandler.create(IFunctor functor) |
IFunctorCall |
SimpleFunctorCallFactory.createFunctorCall(IFunctor functor,
Object receiver,
IArgs args) |
IFunctorCall |
IFunctorCallFactory.createFunctorCall(IFunctor functor,
Object receiver,
IArgs args)
Create a new
IFunctorCall. |
static ArgumentDeclaration |
ArgumentDeclaration.declareFunctor(IDeclarationBlock declarationBlock,
String pPath,
String pModifiers,
IFunctor pDefaultFunctor,
Class pType,
String description) |
Object |
IFunctorHandler.perform(IFunctor functor,
IFunctorCall call)
Perform the encapsulated business logic for
functor |
void |
IFunctorRegistry.registerFunctor(IFunctor service) |
void |
ArgumentDeclaration.setDefaultFunctor(IFunctor defaultFunctor) |
void |
FunctorFieldHandler.setGetter(IFunctor getter) |
void |
FunctorFieldHandler.setSetter(IFunctor setter) |
void |
IFunctorRegistry.unregisterFunctor(IFunctor service) |
| Constructor and Description |
|---|
DeclarationFunctor(IFunctor functor) |
FunctorFieldHandler(String name,
IFunctor getter,
IFunctor setter) |
FunctorFieldHandler(String name,
IFunctor getter,
IFunctor setter) |
FunctorMethodHandler(String name,
IFunctor invoker) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurableFunctor
|
static class |
DeclarationIO.ArgLookupFunctor |
class |
NotImplementedFunctor
Report the fact that a requested feature is not available yet.
|
class |
RegexReplacer
An
IFunctor to replace substrings. |
| Modifier and Type | Method and Description |
|---|---|
static IFunctor |
DeclarationIO.createFunctor(String language,
Object source) |
IFunctor |
DeclarationIO.deserializeDefaultFunctor(IArgumentDeclaration declaration,
IElement element,
boolean secret) |
| Modifier and Type | Method and Description |
|---|---|
static IFunctor |
ElementTools.createFunctor(Object owner,
IElement element,
String role,
Object context)
This is a tool method to create an
IFunctor. |
| Modifier and Type | Class and Description |
|---|---|
class |
MacroAssign<T>
A single "execution" step in a
MacroFunctor. |
class |
MacroBlock
The
MacroBlock allows for aggregation of other IFunctor
instances to a new compound implementation. |
class |
MacroBreak
Break from the next surrounding
MacroLoop. |
class |
MacroCondition
Implementation of conditional execution of an
IFunctor. |
class |
MacroContinue
Continue execution for the next surrounding
MacroLoop. |
class |
MacroFunctor<T>
An
IFunctor based implementation for scripting components. |
class |
MacroLoop
Implementation of repeated execution of an
IFunctor. |
class |
MacroReturn
Return from the execution of a
MacroBlock, regardless of execution
depth. |
| Modifier and Type | Method and Description |
|---|---|
IFunctor |
MacroLoop.getDoExpression() |
IFunctor |
MacroCondition.getElseExpression() |
IFunctor |
MacroCondition.getIfExpression() |
IFunctor |
MacroLoop.getInitExpression() |
IFunctor |
MacroCondition.getThenExpression() |
IFunctor |
MacroReturn.getValueExpression() |
IFunctor |
MacroAssign.getValueExpression() |
IFunctor |
MacroLoop.getWhileExpression() |
| Modifier and Type | Method and Description |
|---|---|
List<IFunctor> |
MacroBlock.getBlockExpressions() |
List<IFunctor> |
MacroBlock.getErrorExpressions() |
List<IFunctor> |
MacroBlock.getFinallyExpressions() |
| Modifier and Type | Method and Description |
|---|---|
void |
MacroBlock.addBlockExpression(IFunctor step) |
void |
MacroBlock.addBlockExpression(int index,
IFunctor step) |
void |
MacroBlock.addErrorExpression(IFunctor step) |
void |
MacroBlock.addErrorExpression(int index,
IFunctor step) |
void |
MacroBlock.addFinallyExpression(IFunctor step) |
void |
MacroBlock.addFinallyExpression(int index,
IFunctor step) |
void |
MacroBlock.removeBlockExpression(IFunctor step) |
void |
MacroBlock.removeErrorExpression(IFunctor step) |
void |
MacroBlock.removeFinallyExpression(IFunctor step) |
void |
MacroLoop.setDoExpression(IFunctor step) |
void |
MacroCondition.setElseExpression(IFunctor step) |
void |
MacroCondition.setIfExpression(IFunctor step) |
void |
MacroLoop.setInitExpression(IFunctor step) |
void |
MacroCondition.setThenExpression(IFunctor step) |
void |
MacroReturn.setValueExpression(IFunctor step) |
void |
MacroAssign.setValueExpression(IFunctor functor) |
void |
MacroLoop.setWhileExpression(IFunctor step) |
| Constructor and Description |
|---|
MacroAssign(IFunctor<T> functor,
String assignTo) |
MacroReturn(IFunctor expr) |
| Constructor and Description |
|---|
FunctorField(String name,
IFunctor getFunctor,
IFunctor setFunctor) |
FunctorField(String name,
IFunctor getFunctor,
IFunctor setFunctor) |
FunctorMethod(String name,
IFunctor functor) |
| Modifier and Type | Class and Description |
|---|---|
class |
TagsToArgsFunctor
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSystemResource.onCommit(IFunctor action) |
void |
FileSystemResource.onRollback(IFunctor action) |
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.