com.android.manifmerger
Class ActionRecorder

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

public class ActionRecorder
extends java.lang.Object

Records all the actions taken by the merging tool.

Each action generates at least one Actions.Record containing enough information to generate a machine or human readable report.

The records are not organized in a temporal structure as the merging tool takes such decisions but are keyed by xml elements and attributes. For each node (elements or attributes), a linked list of actions that happened to the node is recorded to display all decisions that were made for that particular node.

This structure will permit displaying logs with co-located decisions records for each element, for instance :

 activity:com.foo.bar.MyApp
     Added from manifest.xml:31
     Rejected from lib1_manifest.xml:65
 

Each record for a node (element or attribute) will contain the following metadata :

Elements will also contain:

While attributes will have:


Constructor Summary
ActionRecorder()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRecorder

public ActionRecorder()