本文整理汇总了Java中org.apache.isis.applib.fixturescripts.FixtureScripts类的典型用法代码示例。如果您正苦于以下问题:Java FixtureScripts类的具体用法?Java FixtureScripts怎么用?Java FixtureScripts使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
FixtureScripts类属于org.apache.isis.applib.fixturescripts包,在下文中一共展示了FixtureScripts类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(DomainAppFixtureScriptsSpecificationProvider.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDefault(RecreateEmployees.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRecreate(RecreateEmployees.class)
.build();
}
示例2: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(DomainAppFixtureScriptsSpecificationProvider.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDefault(RecreateProvincia.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRecreate(RecreateProvincia.class)
.build();
}
开发者ID:leandrogonqn,项目名称:Proyecto2017Seguros,代码行数:11,代码来源:DomainAppFixtureScriptsSpecificationProvider.java
示例3: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(DomainAppFixtureScriptsSpecificationProvider.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDefault(DemoFixture.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRecreate(DemoFixture.class)
.build();
}
示例4: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(DomainAppFixtureScriptsSpecificationProvider.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDefault(RecreateSimpleObjects.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRecreate(RecreateSimpleObjects.class)
.build();
}
开发者ID:Stephen-Cameron-Data-Services,项目名称:isis-agri,代码行数:11,代码来源:DomainAppFixtureScriptsSpecificationProvider.java
示例5: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(EcpCrmFixtureScriptsSpecificationProvider.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDefault(DemoFixture.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRecreate(DemoFixture.class)
.build();
}
示例6: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification.builder(ToDoAppFixtureModule.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.withRunScriptDefault(RecreateAllUsersAndRolesAndToDoItems.class)
.build();
}
示例7: getSpecification
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
@Override
public FixtureScriptsSpecification getSpecification() {
return FixtureScriptsSpecification
.builder(ExcelModuleDemoFixtureScriptsSpecificationProvider.class)
.withRecreate(RecreateToDoItems.class)
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE_ONCE_BY_VALUE)
.withRunScriptDefault(RecreateToDoItems.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
.build();
}
开发者ID:isisaddons-legacy,项目名称:isis-module-excel,代码行数:11,代码来源:ExcelModuleDemoFixtureScriptsSpecificationProvider.java
示例8: builder
import org.apache.isis.applib.fixturescripts.FixtureScripts; //导入依赖的package包/类
protected FixtureScriptsSpecification.Builder builder() {
return FixtureScriptsSpecification.builder(BaseFixtureScriptsSpecificationProvider.class)
.withRunScriptDropDown(FixtureScriptsSpecification.DropDownPolicy.CHOICES)
// this can be overridden on a fixture-by-fixture basis if the fixture implements FixtureScriptWithExecutionStrategy
.with(FixtureScripts.MultipleExecutionStrategy.EXECUTE_ONCE_BY_CLASS);
}