public class ScenarioCreateShuffleInstance extends Object implements ScenarioInstance
a) New file created. Typically with an obscure name. b) Existing file moved out of the way c) New file moved into place. d) Old file deleted.
If this filter is active then this is what happens. a) New file created. New file created (X). b) Existing file moved out of the way (Y to Z). Raname tracked. c) New file moved into place (X to Y). Scenario kicks in to change commands. d) Old file deleted.
ScenarioInstance.Ranking
Constructor and Description |
---|
ScenarioCreateShuffleInstance() |
Modifier and Type | Method and Description |
---|---|
Command |
evaluate(Operation operation)
Evaluate the next operation
|
ScenarioInstance.Ranking |
getRanking()
Get the Ranking
|
long |
getTimeout() |
boolean |
isComplete()
Is the scenario complete?
|
void |
setRanking(ScenarioInstance.Ranking ranking) |
void |
setTimeout(long timeout) |
String |
toString() |
public Command evaluate(Operation operation)
evaluate
in interface ScenarioInstance
operation
- Operationpublic boolean isComplete()
ScenarioInstance
isComplete
in interface ScenarioInstance
public ScenarioInstance.Ranking getRanking()
ScenarioInstance
getRanking
in interface ScenarioInstance
public void setRanking(ScenarioInstance.Ranking ranking)
public void setTimeout(long timeout)
public long getTimeout()
Copyright © 2005–2017 Alfresco Software. All rights reserved.