wwndesc
1.0-76
|
simple pass-thru class to define internal value for a Target in an idempotent way More...
Public Member Functions | |
WWNDescTarget (String wwn) | |
create an instance with brief set to false. More... | |
WWNDescTarget (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 Target in an idempotent way
Definition at line 139 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 Target device without brief naming capability
Definition at line 142 of file WWNDesc.java.
References DevRole.TARGET.
|
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 Target device with given brief capability
Definition at line 147 of file WWNDesc.java.
References DevRole.TARGET.
|
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 158 of file WWNDesc.java.
Referenced by PureStorageDescription.getDesc(), OraclePillarDescription.getDesc(), HPDotHillDescription.getDesc(), EMCClariionDescription.getDesc(), EMCSymmetrixDescription.getDesc(), EMCVPLEXDescription.getDesc(), IBM3700Description.getDesc(), EMCVMAXDescription.getDesc(), IBMSVCDescription.getDesc(), HP3ParDescription.getDesc(), HDSVSPDescription.getDesc(), NetAppDescription.getDesc(), IBMDescription.getDesc(), SymbiosDescription.getDesc(), HDSModularDescription.getDesc(), and IBM500507630Description.getDesc().