Centralize the sorting logic for various IBM products based on IBM Storage Systems WWPN Determination.
More...
|
static WWNDesc | getDesc (boolean strong, boolean brief, String wwn) |
| If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN. More...
|
|
static WWNDesc | getDesc (boolean strong, boolean brief, String wwn, int role) |
| If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN. More...
|
|
Centralize the sorting logic for various IBM products based on IBM Storage Systems WWPN Determination.
- See also
- http://aussiestorageblog.files.wordpress.com/2013/01/ibm-storage-systems-wwpn-determination-version-6-6.pdf
Definition at line 15 of file IBMDescription.java.
create an instance with brief set to false.
This is a convenience function to support the older constructor model
- Exceptions
-
java.lang.NullPointerException | if the given wwn is null |
- Parameters
-
wwn | the WWN to evaluate and describe |
Definition at line 18 of file IBMDescription.java.
create an instance with the given WWN.
Values given to the constructor are simply copied to internal variables for later use
- Exceptions
-
java.lang.NullPointerException | if the given wwn is null |
- Parameters
-
brief | whether an abbreviated description is requested |
wwn | the WWN to evaluate and describe |
Definition at line 23 of file IBMDescription.java.
static WWNDesc getDesc |
( |
boolean |
strong, |
|
|
boolean |
brief, |
|
|
String |
wwn |
|
) |
| |
|
inlinestatic |
If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN.
- Returns
- new instance of this class, or null if the given wwn does not match this class
- Parameters
-
strong | is ignored: this class is a strong representation, not a weak one based on empirical matching, hence can always be used with confidence |
brief | is ignored: this class has only one representation of the WWN description or alias |
wwn | the WWN (WWPN or WWNN, but typically WWPN) to match |
Definition at line 36 of file IBMDescription.java.
References DevRole.max.
Referenced by WWNDescription.getWWNDescriptor().
static WWNDesc getDesc |
( |
boolean |
strong, |
|
|
boolean |
brief, |
|
|
String |
wwn, |
|
|
int |
role |
|
) |
| |
|
inlinestatic |
If this class matches or describes the given WWN, returns a new instance of this class loaded with the given WWN.
- Returns
- new instance of this class, or null if the given wwn does not match this class
- Parameters
-
strong | is ignored: this class is a strong representation, not a weak one based on empirical matching, hence can always be used with confidence |
brief | is ignored: this class has only one representation of the WWN description or alias |
wwn | the WWN (WWPN or WWNN, but typically WWPN) to match |
role | Role (Initiator/Switch/Target) to check for |
Definition at line 44 of file IBMDescription.java.
References WWNDesc.WWNDescTarget.isA().
return a description or alias for this WWN
- Returns
- generated alias or nickname for the WWN
Definition at line 69 of file IBMDescription.java.
The documentation for this class was generated from the following file: