public class SimpleFixtureLoader extends Object implements FixtureLoader, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
protected class |
SimpleFixtureLoader.Executable |
FixtureLoader.Mode| Modifier and Type | Field and Description |
|---|---|
protected Set<Class> |
cleanedEntities |
protected UnitDaoFactory |
unitDaoFactory |
| Constructor and Description |
|---|
SimpleFixtureLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
execute(FixtureLoader.Mode mode,
SimpleFixtureLoader.Executable executable) |
void |
load(Fixture fixture,
FixtureLoader.Mode mode)
Loads a fixture.
|
void |
reset()
Resets the fixture.
|
protected UnitDaoFactory unitDaoFactory
public void load(Fixture fixture, FixtureLoader.Mode mode)
FixtureLoaderload in interface FixtureLoaderfixture - the fixture to load.mode - the comit mode to use.public void reset()
FixtureLoaderreset, the fixture is in the same state as it was before the
FixtureLoader.load(net.cpollet.jixture.fixtures.Fixture, net.cpollet.jixture.fixtures.loaders.FixtureLoader.Mode) call.reset in interface FixtureLoaderpublic void execute(FixtureLoader.Mode mode, SimpleFixtureLoader.Executable executable)
Copyright © 2014. All Rights Reserved.