Packagesystem.cli
Classpublic class SwitchStatus
InheritanceSwitchStatus Inheritance Enum

Enumerate 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.