Packagelc
Classpublic class ProcessConstants
InheritanceProcessConstants Inheritance Object

The ProcessConstants class holds constants for the Process class's status property. It also provides static helper methods to convert numeric constants into localized strings.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
[static] Returns a localized string corresponding to the passed process status.
ProcessConstants
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  STATUS_COMPLETED : Number = 2
[static] A special value that specifies the process instance has completed.
ProcessConstants
  STATUS_COMPLETING : Number = 3
[static] A special value that specifies the process instance is about to complete.
ProcessConstants
  STATUS_INITIATED : Number = 0
[static] A special value that specifies the process instance has been initiated.
ProcessConstants
  STATUS_RUNNING : Number = 1
[static] A special value that specifies the process instance is currently running.
ProcessConstants
  STATUS_SUSPENDED : Number = 6
[static] A special value that specifies the process instance has been suspended.
ProcessConstants
  STATUS_SUSPENDING : Number = 7
[static] A special value that specifies the process instance is about to be suspended.
ProcessConstants
  STATUS_TERMINATED : Number = 4
[static] A special value that specifies the process instance was terminated before all operations in the process were completed.
ProcessConstants
  STATUS_TERMINATING : Number = 5
[static] A special value that specifies the process instance is about to be terminated.
ProcessConstants
  STATUS_UNSUSPENDING : Number = 8
[static] A special value that specifies the process instance is about to be unsuspended.
ProcessConstants
Method Detail
statusValue()method
public static function statusValue(status:Number):String

Returns a localized string corresponding to the passed process status.

Parameters

status:Number — Specifies the assignment status. It must be one of the constants prefixed with STATUS such as STATUS_COMPLETED.

Returns
String — A localized string corresponding to specified assignment status.
Constant Detail
STATUS_COMPLETEDConstant
public static const STATUS_COMPLETED:Number = 2

A special value that specifies the process instance has completed.

STATUS_COMPLETINGConstant 
public static const STATUS_COMPLETING:Number = 3

A special value that specifies the process instance is about to complete.

STATUS_INITIATEDConstant 
public static const STATUS_INITIATED:Number = 0

A special value that specifies the process instance has been initiated.

STATUS_RUNNINGConstant 
public static const STATUS_RUNNING:Number = 1

A special value that specifies the process instance is currently running.

STATUS_SUSPENDEDConstant 
public static const STATUS_SUSPENDED:Number = 6

A special value that specifies the process instance has been suspended.

STATUS_SUSPENDINGConstant 
public static const STATUS_SUSPENDING:Number = 7

A special value that specifies the process instance is about to be suspended.

STATUS_TERMINATEDConstant 
public static const STATUS_TERMINATED:Number = 4

A special value that specifies the process instance was terminated before all operations in the process were completed.

STATUS_TERMINATINGConstant 
public static const STATUS_TERMINATING:Number = 5

A special value that specifies the process instance is about to be terminated.

STATUS_UNSUSPENDINGConstant 
public static const STATUS_UNSUSPENDING:Number = 8

A special value that specifies the process instance is about to be unsuspended.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/ProcessConstants.html