public final class PriorityValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_INCREMENTAL |
static int |
DEFAULT_URGENCY |
| Constructor and Description |
|---|
PriorityValue(int urgency,
boolean incremental) |
| Modifier and Type | Method and Description |
|---|---|
static PriorityValue |
defaults() |
boolean |
equals(Object obj) |
int |
getUrgency() |
int |
hashCode() |
boolean |
isIncremental() |
static PriorityValue |
of(int urgency,
boolean incremental) |
String |
toString() |
PriorityValue |
withIncremental(boolean newIncremental) |
PriorityValue |
withUrgency(int newUrgency) |
public static final int DEFAULT_URGENCY
public static final boolean DEFAULT_INCREMENTAL
public static PriorityValue of(int urgency, boolean incremental)
public static PriorityValue defaults()
public int getUrgency()
public boolean isIncremental()
public PriorityValue withUrgency(int newUrgency)
public PriorityValue withIncremental(boolean newIncremental)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.