wwndesc
1.0-76
|
simple pass-thru class to define internal value for a Switch in an idempotent way More...
Public Member Functions | |
WWNDescSwitch (String wwn) | |
create an instance with brief set to false. More... | |
WWNDescSwitch (boolean brief, String wwn) | |
create an instance with the given WWN. More... | |
![]() | |
WWNDesc (String wwn) | |
create an instance with brief set to false. More... | |
WWNDesc (boolean brief, String wwn) | |
create an instance with the given WWN. More... | |
WWNDesc (boolean brief, String wwn, DevRole role) | |
create an instance with the given WWN. More... | |
String | descPort () |
describe the WWPN's unique port label/index More... | |
String | toString () |
describe the WWN: produce a short (shorter if this.brief = true) description suitable for use as an alias for this WWN More... | |
Static Public Member Functions | |
static boolean | isA (int role) |
convenience function to use bit-masks to check for membership in this role More... | |
Additional Inherited Members | |
![]() | |
boolean | brief |
whether a more brief output should be offered in toString() (ie the difference between "VMax-HK192601234-12gB" and "VMax-1234-12gB") . More... | |
DevRole | role = DevRole.TARGET |
role of the device: Target, Switch, Initiator | |
BigInteger | wwn |
the WWN that the instance tried to describe | |
simple pass-thru class to define internal value for a Switch in an idempotent way
Definition at line 113 of file WWNDesc.java.
|
inline |
create an instance with brief set to false.
This is a convenience function to support the older constructor model
java.lang.NullPointerException | if the given wwn is null |
wwn | the WWN to evaluate and describe |
< create a new Switch device without brief naming capability
Definition at line 116 of file WWNDesc.java.
References DevRole.SWITCH.
|
inline |
create an instance with the given WWN.
Values given to the constructor are simply copied to internal variables for later use
java.lang.NullPointerException | if the given wwn is null |
brief | whether an abbreviated description is requested |
wwn | the WWN to evaluate and describe |
< create a new Switch device with given brief capability
Definition at line 121 of file WWNDesc.java.
References DevRole.SWITCH.
|
inlinestatic |
convenience function to use bit-masks to check for membership in this role
role | the role to check |
< lightweight method to check for membership in this role
Definition at line 132 of file WWNDesc.java.
Referenced by CiscoSwitchDescription.getDesc(), and CiscoUCSServerDescription.getDesc().