@Beta
public interface Objective
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
Objective.Builder
An objective builder. 
 | 
static class  | 
Objective.Operation
Type of operation. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
DEFAULT_PERMANENT  | 
static int | 
DEFAULT_PRIORITY  | 
static int | 
DEFAULT_TIMEOUT  | 
static int | 
MAX_PRIORITY  | 
static int | 
MIN_PRIORITY  | 
| Modifier and Type | Method and Description | 
|---|---|
ApplicationId | 
appId()
The application which applied this objective. 
 | 
Optional<ObjectiveContext> | 
context()
Obtains an optional context. 
 | 
Objective.Builder | 
copy()
Returns a new builder set to create a copy of this objective. 
 | 
int | 
id()
An identifier for this objective. 
 | 
Objective.Operation | 
op()
The type of operation for this objective. 
 | 
boolean | 
permanent()
Whether this objective is permanent. 
 | 
int | 
priority()
The priority for this objective. 
 | 
int | 
timeout()
The timeout for this objective. 
 | 
static final boolean DEFAULT_PERMANENT
static final int DEFAULT_TIMEOUT
static final int DEFAULT_PRIORITY
static final int MIN_PRIORITY
static final int MAX_PRIORITY
int id()
int priority()
ApplicationId appId()
int timeout()
boolean permanent()
Objective.Operation op()
Optional<ObjectiveContext> context()
Objective.Builder copy()