import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.tracecompass.internal.lttng2.control.core.model.TraceDomainType;
import org.eclipse.tracecompass.internal.lttng2.control.core.model.IBaseEventInfo;
import org.eclipse.tracecompass.internal.lttng2.control.core.model.IUstProviderInfo;
import org.eclipse.tracecompass.internal.lttng2.control.ui.views.messages.Messages;
/**
* Returns if node supports filtering of events
- * @param isKernel - <code>true</code> for kernel provider else <code>false</code>
+ * @param domain - the domain type ({@link TraceDomainType})
* @return <code>true</code> if node supports filtering else <code>false</code>
*/
- public boolean isEventFilteringSupported(boolean isKernel) {
- return ((TargetNodeComponent)getParent()).isEventFilteringSupported(isKernel);
+ public boolean isEventFilteringSupported(TraceDomainType domain) {
+ return ((TargetNodeComponent)getParent()).isEventFilteringSupported(domain);
+ }
+
+ /**
+ * Checks if enabling of per syscall event is supported
+ *
+ * @return <code>true</code> if enabling of per syscall event is supported else <code>false</code>
+ */
+ public boolean isPerSyscallEventsSupported() {
+ return ((TargetNodeComponent) getParent()).isPerSyscallEventsSupported();
+ }
+
+ /**
+ * Returns if node supports JUL logging or not
+ * @return <code>true</code> if it supports JUL logging else <code>false</code>
+ *
+ */
+ public boolean isJulLoggingSupported() {
+ return ((TargetNodeComponent) getParent()).isJulLoggingSupported();
+ }
+ /**
+ * Returns if node supports LOG4J logging or not
+ * @return <code>true</code> if it supports LOG4J logging else <code>false</code>
+ *
+ */
+ public boolean isLog4jLoggingSupported() {
+ return ((TargetNodeComponent) getParent()).isLog4jLoggingSupported();
+ }
+ /**
+ * Returns if node supports Python logging or not
+ * @return <code>true</code> if it supports Python logging else <code>false</code>
+ *
+ */
+ public boolean isPythonLoggingSupported() {
+ return ((TargetNodeComponent) getParent()).isPythonLoggingSupported();
}
}