org.alfresco.filesys.repo.rules
Class ScenarioSimpleNonBuffered

java.lang.Object
  extended by org.alfresco.filesys.repo.rules.ScenarioSimpleNonBuffered
All Implemented Interfaces:
Scenario

public class ScenarioSimpleNonBuffered
extends java.lang.Object
implements Scenario

The Bog Standard Instance. This always executes.


Constructor Summary
ScenarioSimpleNonBuffered()
           
 
Method Summary
 ScenarioInstance createInstance(java.util.List currentInstances, Operation operation)
          Create a new ScenarioInstance
 ScenarioInstance.Ranking getRanking()
           
 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

ScenarioSimpleNonBuffered

public ScenarioSimpleNonBuffered()
Method Detail

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.

setRanking

public void setRanking(ScenarioInstance.Ranking ranking)

getRanking

public ScenarioInstance.Ranking getRanking()

toString

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


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