PersonaWithBuilderScript (interface)

Intended for persona enums to implement, to provide an instance of a BuilderScriptAbstract in order to instantiate an instance of the persona (normally in the form of a domain entity or set of related domain entities).

( BuilderScriptAbstract is a specialization of org.apache.isis.testing.fixtures.applib.fixturescripts.FixtureScript ).

API

PersonaWithBuilderScript.java
interface PersonaWithBuilderScript<T> {
  T builder()     (1)
}
1 builder()

Returns a BuilderScriptAbstract to use to instantiate this persona.

Members

builder()

Returns a BuilderScriptAbstract to use to instantiate this persona.