com.android.manifmerger
Enum IMergerLog.Severity

java.lang.Object
  extended by java.lang.Enum<IMergerLog.Severity>
      extended by com.android.manifmerger.IMergerLog.Severity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IMergerLog.Severity>
Enclosing interface:
IMergerLog

public static enum IMergerLog.Severity
extends java.lang.Enum<IMergerLog.Severity>

Severity of the error message.


Enum Constant Summary
ERROR
          A fatal error.
INFO
          A very low severity information.
WARNING
          A warning.
 
Method Summary
static IMergerLog.Severity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IMergerLog.Severity[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final IMergerLog.Severity INFO
A very low severity information. This does not stop processing. Clients might want to have a "not verbose" flag to not display this.


WARNING

public static final IMergerLog.Severity WARNING
A warning. This does not stop processing.


ERROR

public static final IMergerLog.Severity ERROR
A fatal error. The merger does not stop on errors, in an attempt to accumulate as much info as possible to return to the user. However in case even one error is generated the output should not be used, if any.

Method Detail

values

public static IMergerLog.Severity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IMergerLog.Severity c : IMergerLog.Severity.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IMergerLog.Severity valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null