Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.build
Enum MTJBuildState

java.lang.Object
  extended by java.lang.Enum<MTJBuildState>
      extended by org.eclipse.mtj.core.build.MTJBuildState
All Implemented Interfaces:
Serializable, Comparable<MTJBuildState>

public enum MTJBuildState
extends Enum<MTJBuildState>

MTJBuildState enumeration defines all states of the MTJ build process.

The ordered list of possible states is provided below:

  1. PRE_BUILD [Before build process starts]
  2. PRE_PREPROCESS [Before preprocessing]
  3. POST_PREPROCESS [After preprocessing]
  4. #PRE_COMPILE [Before JDT builder starts]
  5. #POST_COMPILE [After JDT builder ends]
  6. PRE_LOCALIZATION [Before localization]
  7. POST_LOCALIZATION [After localization]
  8. PRE_PREVERIFICATION [Before preverifying]
  9. POST_PREVERIFICATION [After preverifying]
  10. PRE_PACKAGING [Before Packaging]
  11. PRE_OBFUSCATION [Before obfuscation]
  12. POST_OBFUSCATION [After obfuscation]
  13. PRE_SIGNING [Before signing]
  14. POST_SIGNING [After signing]
  15. POST_PACKAGING [After Packaging]
  16. POST_BUILD [After build process ends]

Since:
1.0

Enum Constant Summary
POST_BUILD
          This state represents the state after the build finishes.
POST_COMPILATION
          This state represents the state after compilation.
POST_LOCALIZATION
          This state represents the state after building localization.
POST_OBFUSCATION
          This state represents the state after obfuscation.
POST_PACKAGING
          This state represents the state after packaging.
POST_PREPROCESS
          This state represents the state after preprocessing.
POST_PREVERIFICATION
          This state represents the state after preverification.
POST_SIGNING
          This state represents the state after signing.
PRE_BUILD
          This state represents the state before the build starts.
PRE_COMPILATION
          This state represents the state before compilation.
PRE_LOCALIZATION
          This state represents the state before building localization.
PRE_OBFUSCATION
          This state represents the state before obfuscation.
PRE_PACKAGING
          This state represents the state before packaging.
PRE_PREPROCESS
          This state represents the state before preprocessing.
PRE_PREVERIFICATION
          This state represents the state before preverification.
PRE_SIGNING
          This state represents the state before signing.
 
Method Summary
static MTJBuildState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MTJBuildState[] 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

PRE_BUILD

public static final MTJBuildState PRE_BUILD
This state represents the state before the build starts.


POST_BUILD

public static final MTJBuildState POST_BUILD
This state represents the state after the build finishes.


PRE_PREPROCESS

public static final MTJBuildState PRE_PREPROCESS
This state represents the state before preprocessing.


POST_PREPROCESS

public static final MTJBuildState POST_PREPROCESS
This state represents the state after preprocessing.


PRE_PREVERIFICATION

public static final MTJBuildState PRE_PREVERIFICATION
This state represents the state before preverification.


POST_PREVERIFICATION

public static final MTJBuildState POST_PREVERIFICATION
This state represents the state after preverification.


PRE_LOCALIZATION

public static final MTJBuildState PRE_LOCALIZATION
This state represents the state before building localization.


POST_LOCALIZATION

public static final MTJBuildState POST_LOCALIZATION
This state represents the state after building localization.


PRE_COMPILATION

public static final MTJBuildState PRE_COMPILATION
This state represents the state before compilation.


POST_COMPILATION

public static final MTJBuildState POST_COMPILATION
This state represents the state after compilation.


PRE_OBFUSCATION

public static final MTJBuildState PRE_OBFUSCATION
This state represents the state before obfuscation.


POST_OBFUSCATION

public static final MTJBuildState POST_OBFUSCATION
This state represents the state after obfuscation.


PRE_SIGNING

public static final MTJBuildState PRE_SIGNING
This state represents the state before signing.


POST_SIGNING

public static final MTJBuildState POST_SIGNING
This state represents the state after signing.


PRE_PACKAGING

public static final MTJBuildState PRE_PACKAGING
This state represents the state before packaging.


POST_PACKAGING

public static final MTJBuildState POST_PACKAGING
This state represents the state after packaging.

Method Detail

values

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

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

valueOf

public static MTJBuildState valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Mobile Tools for Java
Release 1.0