- 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.
- 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).
- 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.
- 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
-
- getModel() - Method in class com.android.manifmerger.XmlAttribute
-
- 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
- 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(ManifestMerger2.MergeType, 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.