com.android.tools.lint.client.api
Enum LintListener.EventType

java.lang.Object
  extended by java.lang.Enum<LintListener.EventType>
      extended by com.android.tools.lint.client.api.LintListener.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LintListener.EventType>
Enclosing interface:
LintListener

public static enum LintListener.EventType
extends java.lang.Enum<LintListener.EventType>

The various types of events provided to lint listeners


Enum Constant Summary
CANCELED
          The lint check was canceled
COMPLETED
          The lint check is done
NEW_PHASE
          A new pass was initiated
SCANNING_FILE
          Lint is about to check the given file, see Context.file
SCANNING_LIBRARY_PROJECT
          Lint is about to check the given library project, see Context.getProject()
SCANNING_PROJECT
          Lint is about to check the given project, see Context.getProject()
STARTING
          A lint check is about to begin
 
Method Summary
static LintListener.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LintListener.EventType[] 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

STARTING

public static final LintListener.EventType STARTING
A lint check is about to begin


SCANNING_PROJECT

public static final LintListener.EventType SCANNING_PROJECT
Lint is about to check the given project, see Context.getProject()


SCANNING_LIBRARY_PROJECT

public static final LintListener.EventType SCANNING_LIBRARY_PROJECT
Lint is about to check the given library project, see Context.getProject()


SCANNING_FILE

public static final LintListener.EventType SCANNING_FILE
Lint is about to check the given file, see Context.file


NEW_PHASE

public static final LintListener.EventType NEW_PHASE
A new pass was initiated


CANCELED

public static final LintListener.EventType CANCELED
The lint check was canceled


COMPLETED

public static final LintListener.EventType COMPLETED
The lint check is done

Method Detail

values

public static LintListener.EventType[] 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 (LintListener.EventType c : LintListener.EventType.values())
    System.out.println(c);

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

valueOf

public static LintListener.EventType 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