public final class IlrVocabularyMergeWizard
extends ilog.rules.vocabulary.model.IlrDefaultVocabularyVisitor
IlrVocabularyMergeWizard to handle cases where
a conflict occurs.| Modifier and Type | Class and Description |
|---|---|
static class |
IlrVocabularyMergeWizard.MergeException
Exceptions thrown while merging vocabularies.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
mergeVocabularies(IlrVocabulary source,
IlrVocabulary into,
boolean overwrite)
Merges the vocabulary source into the vocabulary into.
|
static void |
mergeVocabularies(IlrVocabulary source,
IlrVocabulary into,
IlrVocabularyMergeConflictHandler conflictHandler)
Merges the vocabulary source into the vocabulary into, using the specified conflictHandler
to resolve conflicts.
|
void |
visitSentence(IlrSentence sentence)
internal
|
void |
visitVocabulary(IlrVocabulary vocabulary)
Visits an IlrVocabulary.
|
public void visitVocabulary(IlrVocabulary vocabulary)
ilog.rules.vocabulary.model.IlrDefaultVocabularyVisitoraccept(this) on each business artifact.visitVocabulary in interface IlrVocabularyVisitorvisitVocabulary in class ilog.rules.vocabulary.model.IlrDefaultVocabularyVisitorvocabulary - The vocabulary to visit.public void visitSentence(IlrSentence sentence)
visitSentence in interface IlrVocabularyVisitorvisitSentence in class ilog.rules.vocabulary.model.IlrDefaultVocabularyVisitorsentence - The sentence to visit.public static void mergeVocabularies(IlrVocabulary source, IlrVocabulary into, IlrVocabularyMergeConflictHandler conflictHandler) throws IlrVocabularyMergeWizard.MergeException
IlrVocabularyMergeWizard.MergeExceptionsource - The source vocabulary.into - The target vocabulary, where the merge will take place.conflictHandler - The handler that resolves merge conflicts.public static void mergeVocabularies(IlrVocabulary source, IlrVocabulary into, boolean overwrite) throws IlrVocabularyMergeWizard.MergeException
IlrStandardVocabularyMergeConflictHandler).IlrVocabularyMergeWizard.MergeExceptionsource - The source vocabulary.into - The target vocabulary, where the merge will take place.overwrite - Forces duplicate concepts and sentence objects to be overwritten when merging two vocabularies.© Copyright IBM Corp. 1987, 2017