Package org.alfresco.filesys.repo.rules

Filesystem Rule Evaluator to support Scenarios.

See:
          Description

Interface Summary
Command A Command is something that must be done.
EvaluatorContext EvaluatorContext
Operation An operation is a primitive thing that needs to be executed.
OperationExecutor An operation executor is an implementation of how to execute an operation.
RuleEvaluator The Rule Evaluator evaluates the operation and returns details of the commands to implement those operations.
Scenario A scenario is a factory for scenario instances.
ScenarioInstance A scenario instance is an active scenario.
 

Class Summary
RuleEvaluatorImpl The Rule Evaluator evaluates the operation and returns details of the commands to implement those operations.
ScenarioCreateShuffle A shuffle a) New file created.
ScenarioCreateShuffleInstance This is an instance of a "classic shuffle" triggered by a create of a file matching a specified pattern.
ScenarioDoubleRenameShuffle A double rename shuffle a) Existing file renamed out of the way.
ScenarioDoubleRenameShuffleInstance This is an instance of a "double rename shuffle" triggered by rename of a file to a special pattern file matching a specified pattern.
ScenarioInstance.Ranking  
ScenarioOpenFile The Open File Scenario is a sequence of multiple openFile operations Only on the last close does the repo get closed.
ScenarioRenameShuffle The "Vi" rename shuffle is a sequence where a file is moved out of the way and then a new copy of the file put into place.
ScenarioSimpleNonBuffered The Bog Standard Instance.
ScenarioSimpleNonBufferedInstance The Simple Standard Scenario is what will be done if no other scenario intervenes.
ShuffleTest Shuffle Test
VirtualFilesystem  
 

Package org.alfresco.filesys.repo.rules Description

Filesystem Rule Evaluator to support Scenarios.

Low level operations (create, update, delete etc) are passed into the RuleEvaluator.

The RuleEvaluator is configured with a list of Scenarios which process the operations as and when their patterns match. The RuleEvaluator evaluates the stream of operations and returns commands to execute.

The Command Executor executes the commands returned from the RuleEvaluator.

Each Scenario is a Factory for A ScenarioInstance. The RuleEvaluator contains a set of active scenario instances.

Since:
4.0


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.