Package org.alfresco.filesys.repo.rules
Class ScenarioDeleteRestoreInstance
java.lang.Object
org.alfresco.filesys.repo.rules.ScenarioDeleteRestoreInstance
- All Implemented Interfaces:
ScenarioInstance
This is an instance of a "delete restore shuffle"
Triggered by a delete of a file followed by a recreate of that same file.
First implemented for MacOS Lion Finder.
Sequence of operations. a) File Deleted b) File Created.
-
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
-
ScenarioDeleteRestoreInstance
public ScenarioDeleteRestoreInstance()
-
-
Method Details
-
evaluate
Evaluate the next operation- Specified by:
evaluatein interfaceScenarioInstance- Parameters:
operation- 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()
-