Package org.alfresco.filesys.repo.rules
Class ScenarioTempDeleteShuffle
java.lang.Object
org.alfresco.filesys.repo.rules.ScenarioTempDeleteShuffle
- All Implemented Interfaces:
Scenario
A temp delete shuffle.
Files are created in a temporary directory
and then a delete and move.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(EvaluatorContext ctx, Operation operation) Create a new ScenarioInstancelongvoidsetPattern(String pattern) voidsetRanking(ScenarioInstance.Ranking ranking) voidsetTempDirPattern(String tempDirPattern) voidsetTimeout(long timeout)
-
Field Details
-
SCENARIO_KEY
- See Also:
-
-
Constructor Details
-
ScenarioTempDeleteShuffle
public ScenarioTempDeleteShuffle()
-
-
Method Details
-
createInstance
Description copied from interface:ScenarioCreate a new ScenarioInstanceIf the scenario is interested in the specified operation then return a new scenario instance.
- Specified by:
createInstancein interfaceScenario- Parameters:
ctx- EvaluatorContext.operation- the operation to be performed- Returns:
- the scenario instance or null if a new instance is not required.
-
setPattern
-
getPattern
-
setTempDirPattern
-
getTempDirPattern
-
setTimeout
public void setTimeout(long timeout) -
getTimeout
public long getTimeout() -
setRanking
-
getRanking
-