FixtureScriptsSpecification

Specifies the behaviour of the org.apache.causeway.testing.fixtures.applib.fixturescripts.FixtureScripts#runFixtureScript(String, String) runFixtureScript menu action and the execution characteristics of (graphs of) FixtureScript s.

API

FixtureScriptsSpecification.java
class FixtureScriptsSpecification {
  FixtureScriptsSpecification(String packagePrefix, FixtureScripts.NonPersistedObjectsStrategy nonPersistedObjectsStrategy, FixtureScripts.MultipleExecutionStrategy multipleExecutionStrategy, Class<? extends FixtureScript> runScriptDefaultScriptClass, Class<? extends FixtureScript> recreateScriptClass)     (1)
  String getPackagePrefix()
  FixtureScripts.NonPersistedObjectsStrategy getNonPersistedObjectsStrategy()
  FixtureScripts.MultipleExecutionStrategy getMultipleExecutionStrategy()     (2)
  Class<? extends FixtureScript> getRunScriptDefaultScriptClass()
  Class<? extends FixtureScript> getRecreateScriptClass()
  Builder builder(Class<?> contextClass)
  Builder builder(String packagePrefix)
}
1 FixtureScriptsSpecification(String, FixtureScripts_NonPersistedObjectsStrategy, FixtureScripts_MultipleExecutionStrategy, Class, Class)

Typically preferable to use the create using the FixtureScriptsSpecification.Builder (obtained from #builder(Class) ).

2 getMultipleExecutionStrategy()

Note that this can be overridden on a fixture-by-fixture basis if the fixture implements FixtureScriptWithExecutionStrategy .

Members

FixtureScriptsSpecification(String, FixtureScripts_NonPersistedObjectsStrategy, FixtureScripts_MultipleExecutionStrategy, Class, Class)

Typically preferable to use the create using the FixtureScriptsSpecification.Builder (obtained from #builder(Class) ).

getMultipleExecutionStrategy()

Note that this can be overridden on a fixture-by-fixture basis if the fixture implements FixtureScriptWithExecutionStrategy .