Package org.alfresco.filesys.repo.rules
Class ScenarioCreateDeleteRenameShuffleInstance
java.lang.Object
org.alfresco.filesys.repo.rules.ScenarioCreateDeleteRenameShuffleInstance
- All Implemented Interfaces:
ScenarioInstance
This is an instance of a create, delete, rename shuffle" triggered by a create of a file matching a specified pattern.
a) New file created. Typically with an obscure name. b) Existing file deleted c) New file moved into place.
If this filter is active then this is what happens. a) New file created. New file created. b) Existing file deleted. File moved to temporary location instead. c) Rename - Scenario fires - File moved back from temporary location - Content updated. - temporary file deleted
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.filesys.repo.rules.ScenarioInstance
ScenarioInstance.Ranking -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the next operationGet the RankinglongbooleanIs the scenario complete?voidsetRanking(ScenarioInstance.Ranking ranking) voidsetTimeout(long timeout) toString()
-
Constructor Details
-
ScenarioCreateDeleteRenameShuffleInstance
public ScenarioCreateDeleteRenameShuffleInstance()
-
-
Method Details
-
evaluate
Evaluate the next operation- Specified by:
evaluatein interfaceScenarioInstance- Parameters:
operation-
-
isComplete
public boolean isComplete()Description copied from interface:ScenarioInstanceIs the scenario complete?- Specified by:
isCompletein interfaceScenarioInstance- Returns:
- boolean
-
getRanking
Description copied from interface:ScenarioInstanceGet the Ranking- Specified by:
getRankingin interfaceScenarioInstance- Returns:
- Ranking
-
setRanking
-
toString
-
setTimeout
public void setTimeout(long timeout) -
getTimeout
public long getTimeout()
-