com.android.sdklib.internal.project
Enum ProjectProperties.PropertyType

java.lang.Object
  extended by java.lang.Enum<ProjectProperties.PropertyType>
      extended by com.android.sdklib.internal.project.ProjectProperties.PropertyType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProjectProperties.PropertyType>
Enclosing class:
ProjectProperties

public static enum ProjectProperties.PropertyType
extends java.lang.Enum<ProjectProperties.PropertyType>


Enum Constant Summary
ANT
           
LEGACY_BUILD
          Deprecated. 
LEGACY_DEFAULT
          Deprecated. 
LOCAL
           
PROJECT
           
 
Method Summary
 java.lang.String getFilename()
           
 java.lang.String getHeader()
           
static ProjectProperties.PropertyType[] getOrderedTypes()
          Returns the PropertyTypes ordered the same way Ant order them.
 boolean isKnownProperty(java.lang.String name)
          Returns whether a given property is known for the property type.
 boolean isRemovedProperty(java.lang.String name)
          Returns whether a given property should be removed for the property type.
static ProjectProperties.PropertyType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProjectProperties.PropertyType[] 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

ANT

public static final ProjectProperties.PropertyType ANT

PROJECT

public static final ProjectProperties.PropertyType PROJECT

LOCAL

public static final ProjectProperties.PropertyType LOCAL

LEGACY_DEFAULT

@Deprecated
public static final ProjectProperties.PropertyType LEGACY_DEFAULT
Deprecated. 

LEGACY_BUILD

@Deprecated
public static final ProjectProperties.PropertyType LEGACY_BUILD
Deprecated. 
Method Detail

values

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

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

valueOf

public static ProjectProperties.PropertyType 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

getOrderedTypes

public static ProjectProperties.PropertyType[] getOrderedTypes()
Returns the PropertyTypes ordered the same way Ant order them.


getFilename

public java.lang.String getFilename()

getHeader

public java.lang.String getHeader()

isKnownProperty

public boolean isKnownProperty(java.lang.String name)
Returns whether a given property is known for the property type.


isRemovedProperty

public boolean isRemovedProperty(java.lang.String name)
Returns whether a given property should be removed for the property type.