public enum MessagePriority extends java.lang.Enum<MessagePriority>
Enum Constant and Description |
---|
CLUSTER |
DELIVER_IMMEDIATELY |
ENSURE_DELIVERY |
SECTOR |
SYSTEM |
Modifier and Type | Method and Description |
---|---|
float |
getBroadcastDurationDays() |
float |
getMaxRangeLightYears() |
static MessagePriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessagePriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagePriority DELIVER_IMMEDIATELY
public static final MessagePriority ENSURE_DELIVERY
public static final MessagePriority SECTOR
public static final MessagePriority CLUSTER
public static final MessagePriority SYSTEM
public static MessagePriority[] values()
for (MessagePriority c : MessagePriority.values()) System.out.println(c);
public static MessagePriority valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic float getMaxRangeLightYears()
public float getBroadcastDurationDays()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.