|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.repo.rules.ScenarioCreateShuffleInstance
public class ScenarioCreateShuffleInstance
This is an instance of a "classic shuffle" triggered by a create of a file matching a specified pattern.
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.filesys.repo.rules.ScenarioInstance |
---|
ScenarioInstance.Ranking |
Constructor Summary | |
---|---|
ScenarioCreateShuffleInstance()
|
Method Summary | |
---|---|
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)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScenarioCreateShuffleInstance()
Method Detail |
---|
public Command evaluate(Operation operation)
evaluate
in interface ScenarioInstance
operation
- public boolean isComplete()
ScenarioInstance
isComplete
in interface ScenarioInstance
public ScenarioInstance.Ranking getRanking()
ScenarioInstance
getRanking
in interface ScenarioInstance
public void setRanking(ScenarioInstance.Ranking ranking)
public java.lang.String toString()
toString
in class java.lang.Object
public void setTimeout(long timeout)
public long getTimeout()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |