public class SmartStoreInspectorActivity
extends AppCompatActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_STORE |
static java.lang.String |
GLOBAL_STORE |
static java.lang.String |
USER_STORE |
Constructor and Description |
---|
SmartStoreInspectorActivity() |
Modifier and Type | Method and Description |
---|---|
static Intent |
getIntent(Activity parentActivity,
boolean isGlobal,
java.lang.String dbName)
Create intent to bring up inspector
|
java.lang.String |
getLastAlertMessage() |
java.lang.String |
getLastAlertTitle() |
JSONArray |
getLastResults() |
void |
onClearClick(View v)
Called when "Clear" button is clicked
|
protected void |
onCreate(Bundle savedInstanceState) |
void |
onIndicesClick(View v)
Called when "Indices" button is clicked
|
void |
onItemSelected(<any> adapterView,
View view,
int i,
long l)
Called when item selected in stores drop down
|
void |
onNothingSelected(<any> adapterView)
Called when no item is selected in stores drop down
|
protected void |
onResume() |
void |
onRunClick(View v)
Called when "Run" button is clicked
|
void |
onSoupsClick(View v)
Called when "Soups" button is clicked
|
void |
reset()
Reset activity to its original state
|
public static final java.lang.String USER_STORE
public static final java.lang.String GLOBAL_STORE
public static final java.lang.String DEFAULT_STORE
public static Intent getIntent(Activity parentActivity, boolean isGlobal, java.lang.String dbName)
parentActivity
- isGlobal
- pass true to get an inspector for the default global smartstore
pass false to get an inspector for the default user smartstoredbName
- protected void onCreate(Bundle savedInstanceState)
protected void onResume()
public void onItemSelected(<any> adapterView, View view, int i, long l)
adapterView
- view
- i
- l
- public void onNothingSelected(<any> adapterView)
adapterView
- public void onClearClick(View v)
v
- public void reset()
public java.lang.String getLastAlertTitle()
public java.lang.String getLastAlertMessage()
public JSONArray getLastResults()
public void onRunClick(View v)
v
- public void onSoupsClick(View v)
v
- public void onIndicesClick(View v)
v
-