Packagesystem.cli
Classpublic class SwitchStatus
InheritanceSwitchStatus Inheritance Enum Inheritance Object

Enumerates the different switch states.



Public Methods
 MethodDefined By
  
SwitchStatus(value:int, name:String)
Creates a new SwitchStatus instance.
SwitchStatus
 Inherited
toSource(indent:int = 0):String
Returns the source code String representation of the object.
Enum
 Inherited
toString():String
Returns the String representation of the object.
Enum
 Inherited
valueOf():int
Returns the primitive value of the object.
Enum
Public Constants
 ConstantDefined By
  error : SwitchStatus
[static] The "error" SwitchStatus object.
SwitchStatus
  noError : SwitchStatus
[static] The "noError" SwitchStatus object.
SwitchStatus
  showUsage : SwitchStatus
[static] The "showUsage" SwitchStatus object.
SwitchStatus
Constructor Detail
SwitchStatus()Constructor
public function SwitchStatus(value:int, name:String)

Creates a new SwitchStatus instance.

Parameters
value:int — The value of the enumeration.
 
name:String — The name key of the enumeration.
Constant Detail
errorConstant
public static const error:SwitchStatus

The "error" SwitchStatus object.

noErrorConstant 
public static const noError:SwitchStatus

The "noError" SwitchStatus object.

showUsageConstant 
public static const showUsage:SwitchStatus

The "showUsage" SwitchStatus object.