- ActionRecorder - Class in com.android.manifmerger
-
Records all the actions taken by the merging tool.
- ActionRecorder() - Constructor for class com.android.manifmerger.ActionRecorder
-
- Actions - Class in com.android.manifmerger
-
Contains all actions taken during a merging invocation.
- Actions(Map<XmlNode.NodeKey, Actions.DecisionTreeRecord>) - Constructor for class com.android.manifmerger.Actions
-
- Actions.ActionType - Enum in com.android.manifmerger
-
Defines all possible actions taken from the merging tool for an xml element or attribute.
- Actions.AttributeRecord - Class in com.android.manifmerger
-
Defines a merging tool action for an xml attribute
- Actions.NodeRecord - Class in com.android.manifmerger
-
Defines a merging tool action for an xml element.
- Actions.Record - Class in com.android.manifmerger
-
Defines an abstract record contain common metadata for elements and attributes actions.
- addBundleManifests(List<Pair<String, File>>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
- addFlavorAndBuildTypeManifest(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add a flavor or build type manifest file last in the list.
- addFlavorAndBuildTypeManifests(File...) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add several flavor or build type manifest files last in the list.
- addLibraryManifest(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add one library file manifest, will be added last in the list of library files which will
make the parameter the lowest priority library manifest file.
- addLibraryManifest(String, File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add one library file manifest, will be added last in the list of library files which will
make the parameter the lowest priority library manifest file.
- addLibraryManifests(File...) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add several library file manifests at then end of the list which will make them the
lowest priority manifest files.
- addManifestProviders(Iterable<? extends ManifestProvider>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Sets manifest providers for this merging activity.
- addNavigationFile(File) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add one navigation file.
- addNavigationFiles(Iterable<File>) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Add several navigation files last in the list.
- addTo(ActionRecorder, XmlDocument, String) - Method in interface com.android.manifmerger.ManifestMerger2.AutoAddingProperty
-
Add itself (possibly just override the current value) with the passed value
- addToNode(Element, String) - Method in class com.android.manifmerger.XmlNode.Name
-
- addToNode(Element, String) - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
-
- addToNode(Element, String) - Method in interface com.android.manifmerger.XmlNode.NodeName
-
Adds a new attribute of this name to a xml element with a value.
- APPLICATION_ID - Static variable in class com.android.manifmerger.PlaceholderHandler
-
- asType(XmlDocument.Type) - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Specify if the file being merged is an overlay (flavor).
- autoRejectConflicts() - Method in class com.android.manifmerger.ManifestModel
-
- getActionLocation() - Method in class com.android.manifmerger.Actions.Record
-
- getActions() - Method in class com.android.manifmerger.MergingReport
-
- getActionType() - Method in class com.android.manifmerger.Actions.Record
-
- getAllNodesByType(ManifestModel.NodeTypes) - Method in class com.android.manifmerger.XmlElement
-
Returns all immediate children of this node for a particular type, irrespective of their
key.
- getAttribute(XmlNode.NodeName) - Method in class com.android.manifmerger.XmlElement
-
Returns the
XmlAttribute for an attribute present on this
xml element, or
Optional.absent() if not present.
- getAttributeOperations() - Method in class com.android.manifmerger.XmlElement
-
- getAttributeOperationType(XmlNode.NodeName) - Method in class com.android.manifmerger.XmlElement
-
Get the attribute operation type as optionally specified by the user.
- getAttributeRecords(XmlNode.NodeKey, XmlNode.NodeName) - Method in class com.android.manifmerger.Actions
-
Returns the
ImmutableList of
Actions.AttributeRecord for
the attribute identified by attributeName of the element identified by elementKey.
- getAttributes() - Method in class com.android.manifmerger.XmlElement
-
Returns the list of attributes for this xml element.
- getByTypeAndKey(ManifestModel.NodeTypes, String) - Method in class com.android.manifmerger.XmlDocument
-
- getDocument() - Method in class com.android.manifmerger.XmlElement
-
- getFileStreamProvider() - Method in class com.android.manifmerger.ManifestMerger2
-
- getFileType() - Method in class com.android.manifmerger.XmlDocument
-
- getId() - Method in class com.android.manifmerger.OrphanXmlElement
-
- getId() - Method in class com.android.manifmerger.XmlAttribute
-
Returns a display friendly identification string that can be used in machine and user
readable messages.
- getId() - Method in class com.android.manifmerger.XmlNode
-
Returns an unique id within the manifest file for the element.
- getInputStream(File) - Method in class com.android.manifmerger.ManifestMerger2.FileStreamProvider
-
Creates a reader for the given file -- which may not necessarily read the contents of the
file on disk.
- getIntermediaryStages() - Method in class com.android.manifmerger.MergingReport
-
- getKey() - Method in class com.android.manifmerger.OrphanXmlElement
-
Returns the unique key for this xml element within the xml file or null if there can be only
one element of this type.
- getKeys() - Method in interface com.android.manifmerger.KeyResolver
-
- getLocalName() - Method in class com.android.manifmerger.XmlNode.Name
-
- getLocalName() - Method in class com.android.manifmerger.XmlNode.NamespaceAwareName
-
- getLocalName() - Method in interface com.android.manifmerger.XmlNode.NodeName
-
The local name.
- getLogger() - Method in class com.android.manifmerger.MergingReport.Builder
-
- getLoggingRecords() - Method in class com.android.manifmerger.MergingReport
-
- getManifest() - Method in interface com.android.manifmerger.ManifestProvider
-
Returns the location of the manifest.
- getMergeableElements() - Method in class com.android.manifmerger.XmlElement
-
- getMergedDocument(MergingReport.MergedManifestKind) - Method in class com.android.manifmerger.MergingReport
-
- getMergedXmlDocument(MergingReport.MergedManifestKind) - Method in class com.android.manifmerger.MergingReport
-
- getMessage() - Method in class com.android.manifmerger.MergingReport.Record
-
- getMinSdkVersion() - Method in class com.android.manifmerger.XmlDocument
-
Returns the minSdk version for this manifest file.
- getModel() - Method in class com.android.manifmerger.XmlAttribute
-
- getModel() - Method in class com.android.manifmerger.XmlDocument
-
- getName() - Method in interface com.android.manifmerger.ManifestProvider
-
Returns a user friendly name.
- getName() - Method in class com.android.manifmerger.OrphanXmlElement
-
- getName() - Method in class com.android.manifmerger.XmlAttribute
-
Returns the attribute's name, providing isolation from details like namespaces handling.
- getName() - Method in class com.android.manifmerger.XmlNode
-
Returns the name of this xml element or attribute.
- getNodeByTypeAndKey(ManifestModel.NodeTypes, String) - Method in class com.android.manifmerger.XmlElement
-
Returns a child of a particular type and a particular key.
- getNodeKeys() - Method in class com.android.manifmerger.Actions
-
Returns a
ImmutableSet of all the element's keys that have
at least one
Actions.NodeRecord.
- getNodeRecords(XmlNode.NodeKey) - Method in class com.android.manifmerger.Actions
-
Returns an
ImmutableList of
Actions.NodeRecord for the element identified with the
passed key.
- getOperationType() - Method in class com.android.manifmerger.Actions.AttributeRecord
-
- getOperationType() - Method in class com.android.manifmerger.XmlElement
-
Get the node operation type as optionally specified by the user.
- getOriginalId() - Method in class com.android.manifmerger.XmlNode
-
Returns a constant Nodekey that can be used throughout the lifecycle of the xml element.
- getOverrideUsesSdkLibrarySelectors() - Method in class com.android.manifmerger.XmlElement
-
- getPackage() - Method in class com.android.manifmerger.XmlDocument
-
- getPackageName() - Method in class com.android.manifmerger.MergingReport
-
- getPackageName() - Method in class com.android.manifmerger.XmlDocument
-
Package name for this android manifest which will be used to resolve
partial path.
- getPackageNameForAttributeExpansion() - Method in class com.android.manifmerger.XmlDocument
-
Returns the package name to use to expand the attributes values with the document's package
name
- getPosition() - Method in class com.android.manifmerger.OrphanXmlElement
-
- getPosition() - Method in class com.android.manifmerger.XmlAttribute
-
- getPosition() - Method in class com.android.manifmerger.XmlElement
-
- getPosition() - Method in class com.android.manifmerger.XmlNode
-
Returns the element's position
- getReason() - Method in class com.android.manifmerger.Actions.Record
-
- getRecordedAttributeNames(XmlNode.NodeKey) - Method in class com.android.manifmerger.Actions
-
Returns a ImmutableList of all attributes names that have at least one record for
the element identified with the passed key.
- getReportString() - Method in class com.android.manifmerger.MergingReport
-
- getResult() - Method in class com.android.manifmerger.MergingReport
-
- getResultingSourceMapping(XmlDocument) - Method in class com.android.manifmerger.Actions
-
- getRootNode() - Method in class com.android.manifmerger.XmlDocument
-
- getSelector() - Method in class com.android.manifmerger.XmlElement
-
Returns a potentially null (if not present) selector decoration on this element.
- getSelectors() - Method in class com.android.manifmerger.XmlDocument
-
Returns a
KeyResolver capable of resolving all selectors
types
- getSeverity() - Method in class com.android.manifmerger.MergingReport.Record
-
- getSourceFile() - Method in class com.android.manifmerger.OrphanXmlElement
-
- getSourceFile() - Method in class com.android.manifmerger.XmlAttribute
-
- getSourceFile() - Method in class com.android.manifmerger.XmlDocument
-
Returns the SourceFile associated with this XML document.
- getSourceFile() - Method in class com.android.manifmerger.XmlElement
-
- getSourceFile() - Method in class com.android.manifmerger.XmlNode
-
Returns the element's document xml source file location.
- getSourceFilePosition() - Method in class com.android.manifmerger.XmlNode
-
Returns the element's document xml source file location.
- getSourceLocation() - Method in class com.android.manifmerger.MergingReport.Record
-
- getSplitName() - Method in class com.android.manifmerger.XmlDocument
-
Returns the split name if this manifest file has one.
- getSystemPropertyResolver() - Method in class com.android.manifmerger.XmlDocument
-
- getTargetId() - Method in class com.android.manifmerger.Actions.Record
-
- getType() - Method in class com.android.manifmerger.OrphanXmlElement
-
Returns this xml element ManifestModel.NodeTypes
- getValue(T) - Method in class com.android.manifmerger.ManifestMerger2.MapBasedKeyBasedValueResolver
-
- getValue(T) - Method in interface com.android.manifmerger.PlaceholderHandler.KeyBasedValueResolver
-
Returns a placeholder value for the placeholder key or null if none exists.
- getValue() - Method in class com.android.manifmerger.XmlAttribute
-
Returns the attribute's value
- getXml() - Method in class com.android.manifmerger.OrphanXmlElement
-
- getXml() - Method in class com.android.manifmerger.XmlAttribute
-
- getXml() - Method in class com.android.manifmerger.XmlDocument
-
- getXml() - Method in class com.android.manifmerger.XmlNode
-
Returns the element's xml
- mActionLocation - Variable in class com.android.manifmerger.Actions.Record
-
- mActionType - Variable in class com.android.manifmerger.Actions.Record
-
- main(String[]) - Static method in class com.android.manifmerger.Merger
-
- ManifestMerger2 - Class in com.android.manifmerger
-
merges android manifest files, idempotent.
- ManifestMerger2.AutoAddingProperty - Interface in com.android.manifmerger
-
Defines a property that can add or override itself into an XML document.
- ManifestMerger2.FileStreamProvider - Class in com.android.manifmerger
-
- ManifestMerger2.Invoker<T extends ManifestMerger2.Invoker<T>> - Class in com.android.manifmerger
-
This class will hold all invocation parameters for the manifest merging tool.
- ManifestMerger2.Invoker.Feature - Enum in com.android.manifmerger
-
Optional behavior of the merging tool can be turned on by setting these Feature.
- ManifestMerger2.MapBasedKeyBasedValueResolver<T> - Class in com.android.manifmerger
-
Helper class for map based placeholders key value pairs.
- ManifestMerger2.MergeFailureException - Exception in com.android.manifmerger
-
- ManifestMerger2.MergeType - Enum in com.android.manifmerger
-
Defines the merging type expected from the tool.
- ManifestModel - Class in com.android.manifmerger
-
Model for the manifest file merging activities.
- ManifestModel() - Constructor for class com.android.manifmerger.ManifestModel
-
Creates a DocumentModel to be used for merging Android manifest documents
- ManifestModel(boolean) - Constructor for class com.android.manifmerger.ManifestModel
-
Creates a DocumentModel to be used for merging Android manifest documents
- ManifestProvider - Interface in com.android.manifmerger
-
An Object that provides a manifest.
- ManifestSystemProperty - Enum in com.android.manifmerger
-
List of manifest files properties that can be directly overridden without using a
placeholder.
- MapBasedKeyBasedValueResolver(Map<T, Object>) - Constructor for class com.android.manifmerger.ManifestMerger2.MapBasedKeyBasedValueResolver
-
- merge() - Method in class com.android.manifmerger.ManifestMerger2.Invoker
-
Perform the merging and return the result.
- merge(XmlDocument, MergingReport.Builder) - Method in class com.android.manifmerger.XmlDocument
-
merge this higher priority document with a higher priority document.
- merge(XmlDocument, MergingReport.Builder, boolean) - Method in class com.android.manifmerger.XmlDocument
-
merge this higher priority document with a higher priority document.
- mergeChildren(XmlElement, MergingReport.Builder) - Method in class com.android.manifmerger.XmlElement
-
- MergeFailureException(Exception) - Constructor for exception com.android.manifmerger.ManifestMerger2.MergeFailureException
-
- Merger - Class in com.android.manifmerger
-
- Merger() - Constructor for class com.android.manifmerger.Merger
-
- MergeType - Enum in com.android.manifmerger
-
Defines the default merging activity for same type.
- mergeWithLowerPriorityNode(XmlElement, MergingReport.Builder) - Method in class com.android.manifmerger.XmlElement
-
Merge this xml element with a lower priority node.
- MergingReport - Class in com.android.manifmerger
-
Contains the result of 2 files merging.
- MergingReport.Builder - Class in com.android.manifmerger
-
This builder is used to accumulate logging, action recording and intermediary results as well
as final result of the merging activity.
- MergingReport.MergedManifestKind - Enum in com.android.manifmerger
-
- MergingReport.Record - Class in com.android.manifmerger
-
Log record.
- MergingReport.Record.Severity - Enum in com.android.manifmerger
-
- MergingReport.Result - Enum in com.android.manifmerger
-
Overall result of the merging process.
- mLogger - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
-
- mMainManifestFile - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
-
- mPlaceholders - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
-
- mReason - Variable in class com.android.manifmerger.Actions.Record
-
- mSystemProperties - Variable in class com.android.manifmerger.ManifestMerger2.Invoker
-
- mTargetId - Variable in class com.android.manifmerger.Actions.Record
-
- validate(XmlDocument, MergingReport.Builder) - Static method in class com.android.manifmerger.PostValidator
-
Post validation of the merged document.
- validate(MergingReport.Builder, XmlDocument) - Static method in class com.android.manifmerger.PreValidator
-
Validates a loaded
XmlDocument and return a status of the
merging model.
- valueOf(String) - Static method in enum com.android.manifmerger.Actions.ActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.ManifestMerger2.Invoker.Feature
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.ManifestMerger2.MergeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.ManifestSystemProperty
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.MergeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.MergedManifestKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.Record.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.MergingReport.Result
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.NodeOperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.OtherOperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.android.manifmerger.XmlDocument.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.android.manifmerger.Actions.ActionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.ManifestMerger2.Invoker.Feature
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.ManifestMerger2.MergeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.ManifestSystemProperty
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.MergeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.MergingReport.MergedManifestKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.MergingReport.Record.Severity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.MergingReport.Result
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.NodeOperationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.OtherOperationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.android.manifmerger.XmlDocument.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(Document) - Static method in class com.android.manifmerger.PlaceholderEncoder
-
Visits a document's entire tree and check each attribute for a placeholder existence.
- visit(MergingReport.Record.Severity, XmlDocument, PlaceholderHandler.KeyBasedValueResolver<String>, MergingReport.Builder) - Static method in class com.android.manifmerger.PlaceholderHandler
-
Visits a document's entire tree and check each attribute for a placeholder existence.