Package org.alfresco.filesys.repo.rules
Interface ScenarioInstance
- All Known Implementing Classes:
ScenarioCreateDeleteRenameShuffleInstance,ScenarioCreateShuffleInstance,ScenarioDeleteRestoreInstance,ScenarioDoubleRenameShuffleInstance,ScenarioLockedDeleteShuffleInstance,ScenarioMultipleRenameShuffleInstance,ScenarioRenameDeleteMoveInstance,ScenarioSimpleNonBufferedInstance,ScenarioTempDeleteShuffleInstance
public interface ScenarioInstance
A scenario instance is an active scenario. It has a ranking, an
evaluate method and knows whether it is complete.
The evaluate method is called repeatedly as operations are processed.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionevaluate the scenario against the current operationGet the RankingbooleanIs the scenario complete?
-
Method Details
-
getRanking
ScenarioInstance.Ranking getRanking()Get the Ranking- Returns:
- Ranking
-
evaluate
evaluate the scenario against the current operation- Parameters:
operation- Operation
-
isComplete
boolean isComplete()Is the scenario complete?- Returns:
- boolean
-