public class ScenarioMultipleRenameShuffle extends Object implements Scenario
If this filter is active then this is what happens. a) Temporary file created. Content copied from original file to temporary file. b) Original file deleted (temporary). c) any operations with temporary file d) Original file restored. Content copied from temporary file to original file.
Constructor and Description |
---|
ScenarioMultipleRenameShuffle() |
Modifier and Type | Method and Description |
---|---|
ScenarioInstance |
createInstance(EvaluatorContext ctx,
Operation operation)
Create a new ScenarioInstance
|
String |
getPattern() |
ScenarioInstance.Ranking |
getRanking() |
long |
getTimeout() |
void |
setPattern(String pattern) |
void |
setRanking(ScenarioInstance.Ranking ranking) |
void |
setTimeout(long timeout) |
public ScenarioInstance createInstance(EvaluatorContext ctx, Operation operation)
Scenario
If the scenario is interested in the specified operation then return a new scenario instance.
createInstance
in interface Scenario
ctx
- EvaluatorContext.operation
- the operation to be performedpublic void setPattern(String pattern)
public String getPattern()
public void setTimeout(long timeout)
public long getTimeout()
public void setRanking(ScenarioInstance.Ranking ranking)
public ScenarioInstance.Ranking getRanking()
Copyright © 2005–2017 Alfresco Software. All rights reserved.