wwndesc
1.0-76
|
WWNDesc is the basic generic class from which each vendor-specific pattern is built upon; similar to an abstract parent but populated methods. More...
Data Structures | |
class | WWNDescInitiator |
simple pass-thru class to define internal value for a Initiator in an idempotent way More... | |
class | WWNDescSwitch |
simple pass-thru class to define internal value for a Switch in an idempotent way More... | |
class | WWNDescTarget |
simple pass-thru class to define internal value for a Target in an idempotent way More... | |
Public Member Functions | |
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... | |
Protected Attributes | |
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 | |
WWNDesc is the basic generic class from which each vendor-specific pattern is built upon; similar to an abstract parent but populated methods.
Definition at line 19 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 |
Definition at line 33 of file WWNDesc.java.
References WWNDesc.wwn.
|
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 |
Definition at line 45 of file WWNDesc.java.
References WWNDesc.brief, DevRole.TARGET, and WWNDesc.wwn.
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 |
role | the device role to assign |
Definition at line 58 of file WWNDesc.java.
References WWNDesc.brief, and WWNDesc.role.
|
inline |
describe the WWPN's unique port label/index
Definition at line 81 of file WWNDesc.java.
Referenced by WWNDescription.main().
|
inline |
describe the WWN: produce a short (shorter if this.brief = true) description suitable for use as an alias for this WWN
Definition at line 71 of file WWNDesc.java.
Referenced by WWNDescription.main().
|
protected |
whether a more brief output should be offered in toString() (ie the difference between "VMax-HK192601234-12gB" and "VMax-1234-12gB") .
. the class may choose to ignore this value
Definition at line 22 of file WWNDesc.java.
Referenced by PureStorageDescription.toString(), EMCSymmetrixDescription.toString(), EMCVPLEXDescription.toString(), EMCVMAXDescription.toString(), NetAppDescription.toString(), SymbiosDescription.toString(), IBMSVCDescription.toString(), HDSVSPDescription.toString(), CiscoSwitchDescription.toString(), HDSModularDescription.toString(), and WWNDesc.WWNDesc().