org.alfresco.filesys.repo.rules
Class ScenarioSimpleNonBufferedInstance

java.lang.Object
  extended by org.alfresco.filesys.repo.rules.ScenarioSimpleNonBufferedInstance
All Implemented Interfaces:
ScenarioInstance

public class ScenarioSimpleNonBufferedInstance
extends java.lang.Object
implements ScenarioInstance

The Simple Standard Scenario is what will be done if no other scenario intervenes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.filesys.repo.rules.ScenarioInstance
ScenarioInstance.Ranking
 
Constructor Summary
ScenarioSimpleNonBufferedInstance()
           
 
Method Summary
 Command evaluate(Operation operation)
          evaluate the scenario against the current operation
 ScenarioInstance.Ranking getRanking()
          Get the Ranking
 boolean isComplete()
          Is the scenario complete?
 void setRanking(ScenarioInstance.Ranking ranking)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScenarioSimpleNonBufferedInstance

public ScenarioSimpleNonBufferedInstance()
Method Detail

evaluate

public Command evaluate(Operation operation)
Description copied from interface: ScenarioInstance
evaluate the scenario against the current operation

Specified by:
evaluate in interface ScenarioInstance

isComplete

public boolean isComplete()
Description copied from interface: ScenarioInstance
Is the scenario complete?

Specified by:
isComplete in interface ScenarioInstance
Returns:

getRanking

public ScenarioInstance.Ranking getRanking()
Description copied from interface: ScenarioInstance
Get the Ranking

Specified by:
getRanking in interface ScenarioInstance
Returns:

setRanking

public void setRanking(ScenarioInstance.Ranking ranking)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.