package org.eclipse.tracecompass.tmf.core.analysis.ondemand;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimeRange;
import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
*/
String getName();
+ /**
+ * Returns whether or not this analysis is defined by a user, as opposed to
+ * being built into Trace Compass (or an extension plugin).
+ *
+ * @return <code>true</code> if this analysis is defined by a user
+ */
+ boolean isUserDefined();
+
/**
* Determine if the current analysis can run on the given trace.
*
* for a default monitor.
* @return The results of this analysis. Exact object type is
* analysis-dependent, a more specific return type is encouraged.
- * @throws OnDemandAnalysisException
+ * @throws CoreException
* If something went wrong with the execution, and expected
* results will not be returned
*/
Object execute(ITmfTrace trace, TmfTimeRange range, String extraParams,
- IProgressMonitor monitor) throws OnDemandAnalysisException;
+ IProgressMonitor monitor) throws CoreException;
}