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


Java GenericValidator类代码示例

本文整理汇总了Java中org.guvnor.common.services.backend.validation.GenericValidator的典型用法代码示例。如果您正苦于以下问题:Java GenericValidator类的具体用法?Java GenericValidator怎么用?Java GenericValidator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


GenericValidator类属于org.guvnor.common.services.backend.validation包,在下文中一共展示了GenericValidator类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DecisionTableXLSServiceImpl

import org.guvnor.common.services.backend.validation.GenericValidator; //导入依赖的package包/类
@Inject
public DecisionTableXLSServiceImpl( @Named("ioStrategy") final IOService ioService,
                                    final CopyService copyService,
                                    final DeleteService deleteService,
                                    final RenameService renameService,
                                    final Event<ResourceOpenedEvent> resourceOpenedEvent,
                                    final DecisionTableXLSConversionService conversionService,
                                    final GenericValidator genericValidator,
                                    final CommentedOptionFactory commentedOptionFactory,
                                    final AuthenticationService authenticationService ) {
    this.ioService = ioService;
    this.copyService = copyService;
    this.deleteService = deleteService;
    this.renameService = renameService;
    this.resourceOpenedEvent = resourceOpenedEvent;
    this.conversionService = conversionService;
    this.genericValidator = genericValidator;
    this.commentedOptionFactory = commentedOptionFactory;
    this.authenticationService = authenticationService;
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:21,代码来源:DecisionTableXLSServiceImpl.java

示例2: ScoreCardXLSServiceImpl

import org.guvnor.common.services.backend.validation.GenericValidator; //导入依赖的package包/类
@Inject
public ScoreCardXLSServiceImpl( @Named("ioStrategy") final IOService ioService,
                                final CopyService copyService,
                                final DeleteService deleteService,
                                final RenameService renameService,
                                final Event<ResourceOpenedEvent> resourceOpenedEvent,
                                final GenericValidator genericValidator,
                                final CommentedOptionFactory commentedOptionFactory,
                                final AuthenticationService authenticationService ) {
    this.ioService = ioService;
    this.copyService = copyService;
    this.deleteService = deleteService;
    this.renameService = renameService;
    this.resourceOpenedEvent = resourceOpenedEvent;
    this.genericValidator = genericValidator;
    this.commentedOptionFactory = commentedOptionFactory;
    this.authenticationService = authenticationService;
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:19,代码来源:ScoreCardXLSServiceImpl.java

示例3: validator

import org.guvnor.common.services.backend.validation.GenericValidator; //导入依赖的package包/类
private GenericValidator validator() throws NoProjectException {
    return new DefaultGenericKieValidator(validatorBuildService) {
        @Override
        protected Predicate<ValidationMessage> fromValidatedPath(final Path path) {
            return message -> true;
        }
    };
}
 
开发者ID:kiegroup,项目名称:optaplanner-wb,代码行数:9,代码来源:SolverValidator.java

示例4: GuidedDecisionTableEditorServiceImpl

import org.guvnor.common.services.backend.validation.GenericValidator; //导入依赖的package包/类
@Inject
public GuidedDecisionTableEditorServiceImpl(final @Named("ioStrategy") IOService ioService,
                                            final CopyService copyService,
                                            final DeleteService deleteService,
                                            final RenameService renameService,
                                            final DataModelService dataModelService,
                                            final WorkItemsEditorService workItemsService,
                                            final KieModuleService moduleService,
                                            final VersionRecordService versionRecordService,
                                            final GuidedDecisionTableGraphEditorService dtableGraphService,
                                            final GuidedDTableGraphResourceTypeDefinition dtableGraphType,
                                            final Event<ResourceOpenedEvent> resourceOpenedEvent,
                                            final GenericValidator genericValidator,
                                            final CommentedOptionFactory commentedOptionFactory,
                                            final SaveAndRenameServiceImpl<GuidedDecisionTable52, Metadata> saveAndRenameService,
                                            final SessionInfo sessionInfo) {
    this.ioService = ioService;
    this.copyService = copyService;
    this.deleteService = deleteService;
    this.renameService = renameService;
    this.dataModelService = dataModelService;
    this.workItemsService = workItemsService;
    this.moduleService = moduleService;
    this.versionRecordService = versionRecordService;
    this.dtableGraphService = dtableGraphService;
    this.dtableGraphType = dtableGraphType;
    this.resourceOpenedEvent = resourceOpenedEvent;
    this.genericValidator = genericValidator;
    this.commentedOptionFactory = commentedOptionFactory;
    this.saveAndRenameService = saveAndRenameService;
    this.safeSessionInfo = new SafeSessionInfo(sessionInfo);
}
 
开发者ID:kiegroup,项目名称:drools-wb,代码行数:33,代码来源:GuidedDecisionTableEditorServiceImpl.java


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