本文整理匯總了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);
}