本文整理汇总了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;
}
示例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;
}
示例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;
}
};
}
示例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);
}