当前位置: 首页>>代码示例>>Java>>正文


Java FixtureScripts类代码示例

本文整理汇总了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();
}
 
开发者ID:bibryam,项目名称:rotabuilder,代码行数:11,代码来源:DomainAppFixtureScriptsSpecificationProvider.java

示例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();
}
 
开发者ID:bibryam,项目名称:semat,代码行数:11,代码来源:DomainAppFixtureScriptsSpecificationProvider.java

示例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();
}
 
开发者ID:incodehq,项目名称:ecpcrm,代码行数:11,代码来源:EcpCrmFixtureScriptsSpecificationProvider.java

示例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();
}
 
开发者ID:isisaddons,项目名称:isis-app-todoapp,代码行数:9,代码来源:ToDoAppFixtureScriptsSpecificationProvider.java

示例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);
}
 
开发者ID:estatio,项目名称:estatio,代码行数:7,代码来源:BaseFixtureScriptsSpecificationProvider.java


注:本文中的org.apache.isis.applib.fixturescripts.FixtureScripts类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。