public class ScenarioDeleteRestoreInstance extends Object implements ScenarioInstance
First implemented for MacOS Lion Finder.
Sequence of operations. a) File Deleted b) File Created.
ScenarioInstance.Ranking
Constructor and Description |
---|
ScenarioDeleteRestoreInstance() |
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.