Packageorg.spicefactory.parsley.core.processor
Classpublic class InitPhase
InheritanceInitPhase Inheritance Object
Implements Phase

Represents a phase during object initialization.



Public Properties
 PropertyDefined By
  typeKey : String
[read-only]
InitPhase
Public Methods
 MethodDefined By
  
compareTo(other:InitPhase):int
Compares this phase value to the specified other phase value.
InitPhase
  
init(order:int = 0):InitPhase
[static] Represents the phase during which the Init method on the target instance gets invoked in.
InitPhase
  
postInit(order:int = 0):InitPhase
[static] Represents the phase after the Init method on the target instance gets invoked.
InitPhase
  
preInit(order:int = 0):InitPhase
[static] Represents the phase before the Init method on the target instance gets invoked.
InitPhase
Property Detail
typeKeyproperty
typeKey:String  [read-only]


Implementation
    public function get typeKey():String
Method Detail
compareTo()method
public function compareTo(other:InitPhase):int

Compares this phase value to the specified other phase value. Returns -1 if this phase is before the other one, 1 if it comes after the other phase and 0 if both are equal. This method can conveniently be used in sort methods.

Parameters

other:InitPhase — the other phase instance to compare this instance to

Returns
int — an integer indicating whether this phase comes before or after the other
init()method 
public static function init(order:int = 0):InitPhase

Represents the phase during which the Init method on the target instance gets invoked in.

Parameters

order:int (default = 0) — additional ordering within the phase (processed in ascending order)

Returns
InitPhase — a new InitPhase instance representing the init phase and specified order
postInit()method 
public static function postInit(order:int = 0):InitPhase

Represents the phase after the Init method on the target instance gets invoked.

Parameters

order:int (default = 0) — additional ordering within the phase (processed in ascending order)

Returns
InitPhase — a new InitPhase instance representing the post-init phase and specified order
preInit()method 
public static function preInit(order:int = 0):InitPhase

Represents the phase before the Init method on the target instance gets invoked.

Parameters

order:int (default = 0) — additional ordering within the phase (processed in ascending order)

Returns
InitPhase — a new InitPhase instance representing the pre-init phase and specified order