jsystem.framework.sut
Class SutFactory

java.lang.Object
  extended byjsystem.framework.sut.SutFactory

public class SutFactory
extends Object

A factory that manage the SUTs


Method Summary
static SutFactory getInstance()
          Get an instance of the factory (not the SUT).
 Vector getOptionalSuts()
           
 Sut getSutInstance()
          Get an instance of the used SUT.
 void init()
          Init the SUT.
 void setSutByIndex(int index)
           
 void setSutInstance(Sut sut)
          Set the SUT to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SutFactory getInstance()
Get an instance of the factory (not the SUT).

Returns:
An instance of the factory.

getSutInstance

public Sut getSutInstance()
Get an instance of the used SUT.

Returns:
The SUT instance.

init

public void init()
Init the SUT.


setSutInstance

public void setSutInstance(Sut sut)
Set the SUT to be used.

Parameters:
sut - The SUT to use.

getOptionalSuts

public Vector getOptionalSuts()

setSutByIndex

public void setSutByIndex(int index)
                   throws Exception
Throws:
Exception