Enum Class Actions.ActionType

java.lang.Object
java.lang.Enum<Actions.ActionType>
com.android.manifmerger.Actions.ActionType
All Implemented Interfaces:
Serializable, Comparable<Actions.ActionType>, Constable
Enclosing class:
Actions

public static enum Actions.ActionType extends Enum<Actions.ActionType>
Defines all possible actions taken from the merging tool for an xml element or attribute.
  • Enum Constant Details

    • ADDED

      public static final Actions.ActionType ADDED
      The element was added into the resulting merged manifest.
    • INJECTED

      public static final Actions.ActionType INJECTED
      The element was injected from the merger invocation parameters.
    • MERGED

      public static final Actions.ActionType MERGED
      The element was merged with another element into the resulting merged manifest.
    • REJECTED

      public static final Actions.ActionType REJECTED
      The element was rejected.
    • IMPLIED

      public static final Actions.ActionType IMPLIED
      The implied element was added was added when importing a library that expected the element to be present by default while targeted SDK requires its declaration.
    • CONVERTED

      public static final Actions.ActionType CONVERTED
      The element was converted into a different type of element in the resulting merged manifest.
  • Method Details

    • values

      public static Actions.ActionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Actions.ActionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null