當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。