@Immutable
public class MergingReport
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MergingReport.Builder
This builder is used to accumulate logging, action recording and intermediary results as well
as final result of the merging activity.
|
static class |
MergingReport.MergedManifestKind |
static class |
MergingReport.Record
Log record.
|
static class |
MergingReport.Result
Overall result of the merging process.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
java.lang.String |
getMergedDocument(MergingReport.MergedManifestKind state) |
XmlDocument |
getMergedXmlDocument(MergingReport.MergedManifestKind state) |
java.lang.String |
getPackageName() |
java.lang.String |
getReportString() |
MergingReport.Result |
getResult() |
void |
log(com.android.utils.ILogger logger)
dumps all logging records to a logger.
|
public void log(@NonNull
com.android.utils.ILogger logger)
@Nullable
public java.lang.String getMergedDocument(@NonNull
MergingReport.MergedManifestKind state)
@Nullable public XmlDocument getMergedXmlDocument(@NonNull MergingReport.MergedManifestKind state)
@NonNull public com.google.common.collect.ImmutableList<java.lang.String> getIntermediaryStages()
ManifestMerger2.Invoker.Feature.KEEP_INTERMEDIARY_STAGES
is set.@NonNull public MergingReport.Result getResult()
@NonNull public com.google.common.collect.ImmutableList<MergingReport.Record> getLoggingRecords()
@NonNull public Actions getActions()
@NonNull public java.lang.String getReportString()
@NonNull public java.lang.String getPackageName()