public enum DiskJobPriority extends Enum<DiskJobPriority>
| Enum Constant and Description |
|---|
LOCAL_ACTION |
OUTGOING_DATA |
RECEIVED_DATA |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
static DiskJobPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskJobPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskJobPriority RECEIVED_DATA
public static final DiskJobPriority OUTGOING_DATA
public static final DiskJobPriority LOCAL_ACTION
public static DiskJobPriority[] values()
for (DiskJobPriority c : DiskJobPriority.values()) System.out.println(c);
public static DiskJobPriority 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 int getPriority()
Copyright © 2016. All rights reserved.