public abstract class DitaMapCompareProgressListenerAbstractImpl extends java.lang.Object implements DitaMapCompareProgressListener
DitaMapCompareProgressListener.DocumentSource, DitaMapCompareProgressListener.ProcessingMode
Constructor and Description |
---|
DitaMapCompareProgressListenerAbstractImpl() |
Modifier and Type | Method and Description |
---|---|
void |
inputMapCopyFinish(DitaMapCompareProgressListener.DocumentSource source,
java.lang.String sourceHref,
java.lang.String destinationHref)
Report when the input map copy is completed.
|
void |
inputMapCopyStart(DitaMapCompareProgressListener.DocumentSource source,
java.lang.String sourceHref,
java.lang.String destinationBaseHref)
Report when the input map copy starts.
|
void |
inputMapScanFinish(DitaMapCompareProgressListener.DocumentSource source,
java.lang.String sourceHref,
int foundTopicsCount)
Report when the scan for the topics referenced (directly or indirectly) from the input map has completed.
|
void |
inputMapScanStart(DitaMapCompareProgressListener.DocumentSource source,
java.lang.String sourceHref)
Report when the scan for the topics referenced (directly or indirectly) from the input map has started.
|
void |
mapLevelOutputProcessingFinish()
Report when the updates to the final result map(s) have completed.
|
void |
mapLevelOutputProcessingStart()
Report when the updates to the final result map(s) have started.
|
void |
processingTopicFailure(java.lang.String href,
DitaMapCompareProgressListener.ProcessingMode processMode,
java.lang.Exception exception)
Report when a failure happens during the processing of a topic.
|
void |
processingTopicFinish(java.lang.String href,
DitaMapCompareProgressListener.ProcessingMode processMode)
Report when the processing of a topic has finished.
|
void |
processingTopicStart(java.lang.String href,
DitaMapCompareProgressListener.ProcessingMode processMode)
Report when the processing of a topic has started.
|
void |
topicAlignmentFinish(java.util.Map<java.lang.String,java.lang.String> alignedTopics,
java.util.Set<java.lang.String> unalignedTopicsA,
java.util.Set<java.lang.String> unalignedTopicsB)
Report when topic alignment process completed.
|
void |
topicAlignmentStart()
Report when topic alignment process started.
|
void |
topicCompareCompleted(java.lang.String href,
int stagesStarted,
int stagesCompleted,
java.lang.String completedStageDescription)
Report when each topic comparison stage has been completed.
|
void |
topicCompareStages(java.lang.String href,
int totalNumberOfStages)
Report the total number of topic comparison stages that are involved in performing the comparison.
|
void |
topicCompareStarted(java.lang.String href,
int stagesStarted,
int stagesCompleted,
java.lang.String startedStageDescription)
Report when each topic comparison stage has been started.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
topicCompareStageHeartbeat
public DitaMapCompareProgressListenerAbstractImpl()
public void inputMapCopyStart(DitaMapCompareProgressListener.DocumentSource source, java.lang.String sourceHref, java.lang.String destinationBaseHref)
DitaMapCompareProgressListener
inputMapCopyStart
in interface DitaMapCompareProgressListener
source
- indicates whether it is the A or B input.sourceHref
- the URI of the source map.destinationBaseHref
- the URI of the output directory.public void inputMapCopyFinish(DitaMapCompareProgressListener.DocumentSource source, java.lang.String sourceHref, java.lang.String destinationHref)
DitaMapCompareProgressListener
inputMapCopyFinish
in interface DitaMapCompareProgressListener
source
- indicates whether it is the A or B input.sourceHref
- the URI of the source map.destinationHref
- the URI of the map copy destination.public void inputMapScanStart(DitaMapCompareProgressListener.DocumentSource source, java.lang.String sourceHref)
DitaMapCompareProgressListener
inputMapScanStart
in interface DitaMapCompareProgressListener
source
- indicates whether it is the A or B input.sourceHref
- the URI of the source map.public void inputMapScanFinish(DitaMapCompareProgressListener.DocumentSource source, java.lang.String sourceHref, int foundTopicsCount)
DitaMapCompareProgressListener
inputMapScanFinish
in interface DitaMapCompareProgressListener
source
- indicates whether it is the A or B input.sourceHref
- the URI of the source map.foundTopicsCount
- the number of topics referenced.public void topicAlignmentStart()
DitaMapCompareProgressListener
topicAlignmentStart
in interface DitaMapCompareProgressListener
public void topicAlignmentFinish(java.util.Map<java.lang.String,java.lang.String> alignedTopics, java.util.Set<java.lang.String> unalignedTopicsA, java.util.Set<java.lang.String> unalignedTopicsB)
DitaMapCompareProgressListener
Provides alignment information on referenced topics, giving an indication of the number of comparisons to be performed - the size of the alignedTopics Map.
topicAlignmentFinish
in interface DitaMapCompareProgressListener
alignedTopics
- pairs of A, B topics aligned for comparison.unalignedTopicsA
- topics identified as deleted.unalignedTopicsB
- topics identified as inserted.public void processingTopicStart(java.lang.String href, DitaMapCompareProgressListener.ProcessingMode processMode)
DitaMapCompareProgressListener
processingTopicStart
in interface DitaMapCompareProgressListener
href
- the URI of the topic being processed.processMode
- how the topic is being processed.public void processingTopicFinish(java.lang.String href, DitaMapCompareProgressListener.ProcessingMode processMode)
DitaMapCompareProgressListener
processingTopicFinish
in interface DitaMapCompareProgressListener
href
- the URI of the topic processed.processMode
- how the topic was processed.public void processingTopicFailure(java.lang.String href, DitaMapCompareProgressListener.ProcessingMode processMode, java.lang.Exception exception)
DitaMapCompareProgressListener
processingTopicFailure
in interface DitaMapCompareProgressListener
href
- the URI of the topic processed.processMode
- how the topic was being processed.exception
- the exception raised whilst processing the topicpublic void topicCompareStages(java.lang.String href, int totalNumberOfStages)
DitaMapCompareProgressListener
topicCompareStages
in interface DitaMapCompareProgressListener
href
- the URI of the topic processed.totalNumberOfStages
- the total number of stages that are involved in performing the comparison.public void topicCompareStarted(java.lang.String href, int stagesStarted, int stagesCompleted, java.lang.String startedStageDescription)
DitaMapCompareProgressListener
topicCompareStarted
in interface DitaMapCompareProgressListener
href
- the URI of the topic processed.stagesStarted
- the number of Stages that have been started.stagesCompleted
- the number of Stages that have been completed.startedStageDescription
- the description of the started stage.public void topicCompareCompleted(java.lang.String href, int stagesStarted, int stagesCompleted, java.lang.String completedStageDescription)
DitaMapCompareProgressListener
topicCompareCompleted
in interface DitaMapCompareProgressListener
href
- the URI of the topic processed.stagesStarted
- the number of Stages that have been started.stagesCompleted
- the number of Stages that have been completed.completedStageDescription
- the description of the completed stage.public void mapLevelOutputProcessingStart()
DitaMapCompareProgressListener
mapLevelOutputProcessingStart
in interface DitaMapCompareProgressListener
public void mapLevelOutputProcessingFinish()
DitaMapCompareProgressListener
mapLevelOutputProcessingFinish
in interface DitaMapCompareProgressListener
Copyright © 2001-2016 DeltaXML Ltd. All Rights Reserved.