public static class AndroidEntryPoint.ExecutionOrder extends Object implements Comparable<AndroidEntryPoint.IExecutionOrder>, AndroidEntryPoint.IExecutionOrder
Modifier and Type | Field and Description |
---|---|
static AndroidEntryPoint.ExecutionOrder |
AFTER_LOOP
Basicly the same as AT_LAST but visited before
|
static AndroidEntryPoint.ExecutionOrder |
AT_FIRST
Visit the EntryPoint once at the beginning of the model use that for initialization stuff
|
static AndroidEntryPoint.ExecutionOrder |
AT_LAST
Last calls in the model
|
static AndroidEntryPoint.ExecutionOrder |
BEFORE_LOOP
Basicly the same as AT_FIRST but visited after AT_FIRST
|
static AndroidEntryPoint.ExecutionOrder |
DEFAULT
This value getts used by the detection heuristic - It is not recommended for manual use.
|
static AndroidEntryPoint.ExecutionOrder |
END_OF_LOOP
Things in END_OF_LOOP are acutually part of the loop.
|
static AndroidEntryPoint.ExecutionOrder |
MIDDLE_OF_LOOP
Basicly the same as START_OF_LOOP
|
static AndroidEntryPoint.ExecutionOrder |
MULTIPLE_TIMES_IN_LOOP
Do multiple calls in the loop.
|
static AndroidEntryPoint.ExecutionOrder |
START_OF_LOOP
Visit multiple times (endless) in the loop
|
Constructor and Description |
---|
ExecutionOrder(int val)
Unrecommended way to generate the Order based on an Integer.
|
ExecutionOrder(String label)
Unrecommended way to generate the Order based on a Label-String.
|
public static final AndroidEntryPoint.ExecutionOrder AT_FIRST
public static final AndroidEntryPoint.ExecutionOrder BEFORE_LOOP
public static final AndroidEntryPoint.ExecutionOrder START_OF_LOOP
public static final AndroidEntryPoint.ExecutionOrder MIDDLE_OF_LOOP
public static final AndroidEntryPoint.ExecutionOrder MULTIPLE_TIMES_IN_LOOP
public static final AndroidEntryPoint.ExecutionOrder END_OF_LOOP
public static final AndroidEntryPoint.ExecutionOrder AFTER_LOOP
public static final AndroidEntryPoint.ExecutionOrder AT_LAST
public static final AndroidEntryPoint.ExecutionOrder DEFAULT
public ExecutionOrder(int val)
#after(IExecutionOrder)
and #between(IExecutionOrder, IExecutionOrder)
.public ExecutionOrder(String label)
public int getOrderValue()
getOrderValue
in interface AndroidEntryPoint.IExecutionOrder
public static AndroidEntryPoint.ExecutionOrder between(AndroidEntryPoint.IExecutionOrder after, AndroidEntryPoint.IExecutionOrder before)
between(IExecutionOrder[], IExecutionOrder[])
and use labels as additional placement-information
to prevent unexpected misplacement.after
- the call or "label" to be executed before this onebefore
- the call or "label" to be executed after this one (inclusive)ArithmeticException
- when the precision is no more suitable for further cascadingIllegalArgumentException
- if parameter after is larger than before.NullPointerException
- if either parameter is nullpublic static AndroidEntryPoint.ExecutionOrder between(AndroidEntryPoint.IExecutionOrder[] after, AndroidEntryPoint.IExecutionOrder[] before)
#between(IExecutionOrder, IExecutionOrder)
.after
- the calls or "labels" to be executed before this onebefore
- the calls or "labels" to be executed after this one (inclusive)ArithmeticException
- when the precision is no more suitable for further cascadingIllegalArgumentException
- if parameter after is larger than before.NullPointerException
- if either parameter is nullpublic static AndroidEntryPoint.ExecutionOrder between(AndroidEntryPoint.IExecutionOrder after, AndroidEntryPoint.IExecutionOrder[] before)
public static AndroidEntryPoint.ExecutionOrder between(AndroidEntryPoint.IExecutionOrder[] after, AndroidEntryPoint.IExecutionOrder before)
public static AndroidEntryPoint.ExecutionOrder after(AndroidEntryPoint.IExecutionOrder after)
after
- the call to be executed before this one or label the call belongs toArithmeticException
- when the precision is no more suitable for further cascadingNullPointerException
- if the parameter is nullpublic static AndroidEntryPoint.ExecutionOrder after(int after)
#after(IExecutionOrder)
whenever possible.public static AndroidEntryPoint.ExecutionOrder after(AndroidEntryPoint.IExecutionOrder[] after)
after
- the call to be executed before this one or label the call belongs toArithmeticException
- when the precision is no more suitable for further cascadingNullPointerException
- if the parameter is nullpublic static AndroidEntryPoint.ExecutionOrder directlyBefore(AndroidEntryPoint.IExecutionOrder before)
public static AndroidEntryPoint.ExecutionOrder directlyAfter(AndroidEntryPoint.IExecutionOrder before)
public AndroidEntryPoint.ExecutionOrder getSection()
getSection
in interface AndroidEntryPoint.IExecutionOrder
public int compareTo(AndroidEntryPoint.IExecutionOrder o)
compareTo
in interface Comparable<AndroidEntryPoint.IExecutionOrder>