org.alfresco.filesys.repo.rules
Interface Scenario

All Known Implementing Classes:
ScenarioCreateShuffle, ScenarioDoubleRenameShuffle, ScenarioOpenFile, ScenarioRenameShuffle, ScenarioSimpleNonBuffered

public interface Scenario

A scenario is a factory for scenario instances.


Method Summary
 ScenarioInstance createInstance(java.util.List currentInstances, Operation operation)
          Create a new ScenarioInstance
 

Method Detail

createInstance

ScenarioInstance createInstance(java.util.List currentInstances,
                                Operation operation)
Create a new ScenarioInstance

If the scenario is interested in the specified operation then return a new scenario instance.

Parameters:
currentInstances - the current instances of all scenarios.
operation - the operation to be performed
Returns:
the scenario instance or null if a new instance is not required.


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