public enum SelectReport extends Enum<SelectReport>
ReportLunsCDB
and specifies the types of logical unit addresses
that shall be reported.
The field is two bits long.
Enum Constant and Description |
---|
ALL
The list shall contain all logical units accessible to the I_T nexus.
|
SELECTED_ADDRESSING_METHODS
The list shall contain the logical units accessible to the I_T nexus with the following addressing methods (see
SAM):
AddressMethod.LOGICAL_UNIT_ADDRESSING_METHOD ,
AddressMethod.PERIPHERAL_DEVICE_ADDRESSING_METHOD , and
AddressMethod.FLAT_SPACE_ADDRESSING_METHOD .
If there are no logical units, the LUN LIST LENGTH field shall be zero. |
WELL_KNOWN_LUNS_ONLY
The list shall contain only well known logical units, if any.
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue()
Returns the serialized value of this
SelectReport object. |
static SelectReport |
getValue(byte value)
Returns the
SelectReport corresponding to the passed value. |
static SelectReport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectReport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectReport SELECTED_ADDRESSING_METHODS
public static final SelectReport WELL_KNOWN_LUNS_ONLY
public static final SelectReport ALL
public static SelectReport[] values()
for (SelectReport c : SelectReport.values()) System.out.println(c);
public static SelectReport valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic byte getValue()
SelectReport
object.SelectReport
objectpublic static final SelectReport getValue(byte value)
SelectReport
corresponding to the passed value.value
- the value of a SELECT REPORT fieldSelectReport
corresponding to the passed value or null
if none existsCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.