Interface FinishWithDefaultData
-
public interface FinishWithDefaultData
Data for the finish with default values measure.- Author:
- Marco Waimer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
finishRunningState()
If true, the item shall also be finished, if the activity currently is running.boolean
finishSelectedState()
If true, the item shall also be finished, if the activity currently is selected.boolean
finishSuspendedState()
If true, the item shall also be finished, if the activity currently is suspended.PluginData
getValues()
void
setFinishRunningState(boolean finishRunningState)
Setter forfinishRunningState()
.void
setFinishSelectedState(boolean finishSelectedState)
Setter forfinishSelectedState()
.void
setFinishSuspendedState(boolean finishSuspendedState)
Setter forfinishSuspendedState()
.void
setValues(PluginData values)
Setter forgetValues()
.
-
-
-
Field Detail
-
ID
static final String ID
Plug-in ID- See Also:
- Constant Field Values
-
-
Method Detail
-
getValues
PluginData getValues()
- Returns:
- The default values.
-
setValues
void setValues(PluginData values)
Setter forgetValues()
.- Parameters:
values
-
-
finishSuspendedState
boolean finishSuspendedState()
If true, the item shall also be finished, if the activity currently is suspended. Ie. the stored application state will be ignored and the activity will be finished.- Returns:
- True, the item shall also be finished, if the activity currently is suspended.
-
setFinishSuspendedState
void setFinishSuspendedState(boolean finishSuspendedState)
Setter forfinishSuspendedState()
.- Parameters:
finishSuspendedState
- Whether suspended items shall be finished.
-
finishRunningState
boolean finishRunningState()
If true, the item shall also be finished, if the activity currently is running. The activity will be reset, and then finished with the default data.- Returns:
- True, the item shall also be finished, if the activity currently is running.
-
setFinishRunningState
void setFinishRunningState(boolean finishRunningState)
Setter forfinishRunningState()
.- Parameters:
finishRunningState
- Whether running items shall be finished.
-
finishSelectedState
boolean finishSelectedState()
If true, the item shall also be finished, if the activity currently is selected. The activity will be reset, and then finished with the default data.- Returns:
- True, the item shall also be finished, if the activity currently is selected.
-
setFinishSelectedState
void setFinishSelectedState(boolean finishSelectedState)
Setter forfinishSelectedState()
.- Parameters:
finishSelectedState
- Whether selected items shall be finished.
-
-