com.android.manifmerger
Class MergingReport

java.lang.Object
  extended by com.android.manifmerger.MergingReport

@Immutable
public class MergingReport
extends java.lang.Object

Contains the result of 2 files merging. TODO: more work necessary, this is pretty raw as it stands.


Nested Class Summary
static class MergingReport.Record
          Log record.
static class MergingReport.Result
          Overall result of the merging process.
 
Method Summary
 Actions getActions()
           
 com.google.common.collect.ImmutableList<java.lang.String> getIntermediaryStages()
          Returns all the merging intermediary stages if ManifestMerger2.Invoker.Feature.KEEP_INTERMEDIARY_STAGES is set.
 com.google.common.collect.ImmutableList<MergingReport.Record> getLoggingRecords()
           
 com.google.common.base.Optional<XmlDocument> getMergedDocument()
          Return the resulting merged document.
 java.lang.String getReportString()
           
 MergingReport.Result getResult()
           
 void log(com.android.utils.ILogger logger)
          dumps all logging records to a logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

log

public void log(com.android.utils.ILogger logger)
dumps all logging records to a logger.


getMergedDocument

public com.google.common.base.Optional<XmlDocument> getMergedDocument()
Return the resulting merged document.


getIntermediaryStages

public com.google.common.collect.ImmutableList<java.lang.String> getIntermediaryStages()
Returns all the merging intermediary stages if ManifestMerger2.Invoker.Feature.KEEP_INTERMEDIARY_STAGES is set.


getResult

@NonNull
public MergingReport.Result getResult()

getLoggingRecords

@NonNull
public com.google.common.collect.ImmutableList<MergingReport.Record> getLoggingRecords()

getActions

@NonNull
public Actions getActions()

getReportString

@NonNull
public java.lang.String getReportString()