org.alfresco.filesys.repo.rules
Class ScenarioDoubleRenameShuffle
java.lang.Object
org.alfresco.filesys.repo.rules.ScenarioDoubleRenameShuffle
- All Implemented Interfaces:
- Scenario
public class ScenarioDoubleRenameShuffle
- extends java.lang.Object
- implements Scenario
A double rename shuffle
a) Existing file renamed out of the way. X.fm to X.backup.fm
b) New file moved renamed into place. X.fm.C29
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScenarioDoubleRenameShuffle
public ScenarioDoubleRenameShuffle()
createInstance
public ScenarioInstance createInstance(java.util.List currentInstances,
Operation operation)
- Description copied from interface:
Scenario
- Create a new ScenarioInstance
If the scenario is interested in the specified operation then
return a new scenario instance.
- Specified by:
createInstance
in interface Scenario
- Parameters:
currentInstances
- the current instances of all scenarios.operation
- the operation to be performed
- Returns:
- the scenario instance or null if a new instance is not required.
setPattern
public void setPattern(java.lang.String pattern)
getPattern
public java.lang.String getPattern()
setTimeout
public void setTimeout(long timeout)
getTimeout
public long getTimeout()
setRanking
public void setRanking(ScenarioInstance.Ranking ranking)
getRanking
public ScenarioInstance.Ranking getRanking()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.