summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorBernd Hufmann2013-02-27 10:42:28 (EST)
committer Bernd Hufmann2013-02-28 14:08:50 (EST)
commit88e7e32778cc5309451e525739a734986cae1c10 (patch)
treece1ef3563d9152b29d0de83f48e49cf4776c07b6
parent7f08fa6ac161f95fe1d9f2564476e3ec2f168a4d (diff)
downloadorg.eclipse.linuxtools-88e7e32778cc5309451e525739a734986cae1c10.zip
org.eclipse.linuxtools-88e7e32778cc5309451e525739a734986cae1c10.tar.gz
org.eclipse.linuxtools-88e7e32778cc5309451e525739a734986cae1c10.tar.bz2
Remove unnecessary methods in LTTng Tracer Control modelrefs/changes/32/10732/3
In many classes of the LTTng Tracer Control model convenience methods exists that don't require passing a progress monitor and that just calls another methods to pass a NullProgressMontior instance. This causes increased maintenance work and doesn't bring much gain. Change-Id: Iae4c38d994953ead656dffc7065f01168dbbc7a7 Signed-off-by: Bernd Hufmann <bhufmann@gmail.com> Reviewed-on: https://git.eclipse.org/r/10732 Tested-by: Hudson CI Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java82
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java110
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java13
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProviderGroup.java9
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java126
-rw-r--r--lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionGroup.java46
6 files changed, 0 insertions, 386 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java
index 1d4f50e..484c2b8 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java
@@ -17,7 +17,6 @@ import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IEventInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType;
@@ -264,17 +263,6 @@ public class TraceChannelComponent extends TraceControlComponent {
// ------------------------------------------------------------------------
// Operations
// ------------------------------------------------------------------------
- /**
- * Enables a list of events with no additional parameters.
- *
- * @param eventNames
- * - a list of event names to enabled.
- * @throws ExecutionException
- * If the command fails
- */
- public void enableEvents(List<String> eventNames) throws ExecutionException {
- enableEvents(eventNames, new NullProgressMonitor());
- }
/**
* Enables a list of events with no additional parameters.
@@ -309,16 +297,6 @@ public class TraceChannelComponent extends TraceControlComponent {
/**
* Enables all syscalls (for kernel domain)
*
- * @throws ExecutionException
- * If the command fails
- */
- public void enableSyscalls() throws ExecutionException {
- enableSyscalls(new NullProgressMonitor());
- }
-
- /**
- * Enables all syscalls (for kernel domain)
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -337,23 +315,6 @@ public class TraceChannelComponent extends TraceControlComponent {
* - true for dynamic function entry/return probe else false
* @param probe
* - the actual probe
- * @throws ExecutionException
- * If the command fails
- */
- public void enableProbe(String eventName, boolean isFunction, String probe)
- throws ExecutionException {
- enableProbe(eventName, isFunction, probe, new NullProgressMonitor());
- }
-
- /**
- * Enables a dynamic probe (for kernel domain)
- *
- * @param eventName
- * - event name for probe
- * @param isFunction
- * - true for dynamic function entry/return probe else false
- * @param probe
- * - the actual probe
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -375,25 +336,6 @@ public class TraceChannelComponent extends TraceControlComponent {
* - a log level
* @param filterExpression
* - a filter expression
- * @throws ExecutionException
- * If the command fails
- */
- public void enableLogLevel(String eventName, LogLevelType logLevelType,
- TraceLogLevel level, String filterExpression) throws ExecutionException {
- enableLogLevel(eventName, logLevelType, level, filterExpression, new NullProgressMonitor());
- }
-
- /**
- * Enables events using log level.
- *
- * @param eventName
- * - a event name
- * @param logLevelType
- * - a log level type
- * @param level
- * - a log level
- * @param filterExpression
- * - a filter expression
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -410,18 +352,6 @@ public class TraceChannelComponent extends TraceControlComponent {
*
* @param eventNames
* - a list of event names to enabled.
- * @throws ExecutionException
- * If the command fails
- */
- public void disableEvent(List<String> eventNames) throws ExecutionException {
- disableEvent(eventNames, new NullProgressMonitor());
- }
-
- /**
- * Enables a list of events with no additional parameters.
- *
- * @param eventNames
- * - a list of event names to enabled.
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -438,18 +368,6 @@ public class TraceChannelComponent extends TraceControlComponent {
*
* @param contexts
* - a list of contexts to add
- * @throws ExecutionException
- * If the command fails
- */
- public void addContexts(List<String> contexts) throws ExecutionException {
- addContexts(contexts, new NullProgressMonitor());
- }
-
- /**
- * Add contexts to given channels and or events
- *
- * @param contexts
- * - a list of contexts to add
* @param monitor
* - a progress monitor
* @throws ExecutionException
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java
index e93b1dc..54b20a5 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java
@@ -16,7 +16,6 @@ import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IDomainInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType;
@@ -146,16 +145,6 @@ public class TraceDomainComponent extends TraceControlComponent {
/**
* Retrieves the session configuration from the node.
*
- * @throws ExecutionException
- * If the command fails
- */
- public void getConfigurationFromNode() throws ExecutionException {
- getConfigurationFromNode(new NullProgressMonitor());
- }
-
- /**
- * Retrieves the session configuration from the node.
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -176,23 +165,6 @@ public class TraceDomainComponent extends TraceControlComponent {
* @param info
* - channel information to set for the channel (use null for
* default)
- * @throws ExecutionException
- * If the command fails
- */
- public void enableChannels(List<String> channelNames, IChannelInfo info) throws ExecutionException {
- enableChannels(channelNames, info, new NullProgressMonitor());
- }
-
- /**
- * Enables channels with given names which are part of this domain. If a
- * given channel doesn't exists it creates a new channel with the given
- * parameters (or default values if given parameter is null).
- *
- * @param channelNames
- * - a list of channel names to enable on this domain
- * @param info
- * - channel information to set for the channel (use null for
- * default)
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -209,19 +181,6 @@ public class TraceDomainComponent extends TraceControlComponent {
*
* @param channelNames
* - a list of channel names to enable on this domain
- * @throws ExecutionException
- * If the command fails
- */
- public void disableChannels(List<String> channelNames)
- throws ExecutionException {
- disableChannels(channelNames, new NullProgressMonitor());
- }
-
- /**
- * Disables channels with given names which are part of this domain.
- *
- * @param channelNames
- * - a list of channel names to enable on this domain
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -252,16 +211,6 @@ public class TraceDomainComponent extends TraceControlComponent {
/**
* Enables all syscalls (for kernel domain)
*
- * @throws ExecutionException
- * If the command fails
- */
- public void enableSyscalls() throws ExecutionException {
- enableSyscalls(new NullProgressMonitor());
- }
-
- /**
- * Enables all syscalls (for kernel domain)
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -282,23 +231,6 @@ public class TraceDomainComponent extends TraceControlComponent {
* - true for dynamic function entry/return probe else false
* @param probe
* - the actual probe
- * @throws ExecutionException
- * If the command fails
- */
- public void enableProbe(String eventName, boolean isFunction, String probe)
- throws ExecutionException {
- enableProbe(eventName, isFunction, probe, new NullProgressMonitor());
- }
-
- /**
- * Enables a dynamic probe (for kernel domain)
- *
- * @param eventName
- * - event name for probe
- * @param isFunction
- * - true for dynamic function entry/return probe else false
- * @param probe
- * - the actual probe
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -321,26 +253,6 @@ public class TraceDomainComponent extends TraceControlComponent {
* - a log level
* @param filterExpression
* - a filter expression
- * @throws ExecutionException
- * If the command fails
- */
- public void enableLogLevel(String eventName, LogLevelType logLevelType,
- TraceLogLevel level, String filterExpression) throws ExecutionException {
- enableLogLevel(eventName, logLevelType, level, filterExpression,
- new NullProgressMonitor());
- }
-
- /**
- * Enables events using log level.
- *
- * @param eventName
- * - a event name
- * @param logLevelType
- * - a log level type
- * @param level
- * - a log level
- * @param filterExpression
- * - a filter expression
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -358,18 +270,6 @@ public class TraceDomainComponent extends TraceControlComponent {
*
* @param contexts
* - a list of contexts to add
- * @throws ExecutionException
- * If the command fails
- */
- public void addContexts(List<String> contexts) throws ExecutionException {
- addContexts(contexts, new NullProgressMonitor());
- }
-
- /**
- * Add contexts to given channels and or events
- *
- * @param contexts
- * - a list of contexts to add
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -384,16 +284,6 @@ public class TraceDomainComponent extends TraceControlComponent {
/**
* Executes calibrate command to quantify LTTng overhead.
*
- * @throws ExecutionException
- * If the command fails
- */
- public void calibrate() throws ExecutionException {
- calibrate(new NullProgressMonitor());
- }
-
- /**
- * Executes calibrate command to quantify LTTng overhead.
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java
index 2a64ffb..a5aad23 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java
@@ -16,7 +16,6 @@ import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IEventInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceEnablement;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceEventType;
@@ -235,18 +234,6 @@ public class TraceEventComponent extends TraceControlComponent {
*
* @param contexts
* - a list of contexts to add
- * @throws ExecutionException
- * If the command fails
- */
- public void addContexts(List<String> contexts) throws ExecutionException {
- addContexts(contexts, new NullProgressMonitor());
- }
-
- /**
- * Add contexts to given channels and or events
- *
- * @param contexts
- * - a list of contexts to add
* @param monitor
* - a progress monitor
* @throws ExecutionException
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProviderGroup.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProviderGroup.java
index 6c9cb45..ad513f4 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProviderGroup.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProviderGroup.java
@@ -17,7 +17,6 @@ import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IUstProviderInfo;
import org.eclipse.linuxtools.internal.lttng2.ui.views.control.messages.Messages;
@@ -66,14 +65,6 @@ public class TraceProviderGroup extends TraceControlComponent {
/**
* Gets the provider information from the target node.
- * @throws ExecutionException If the command fails
- */
- public void getProviderFromNode() throws ExecutionException {
- getProviderFromNode(new NullProgressMonitor());
- }
-
- /**
- * Gets the provider information from the target node.
* @param monitor - a progress monitor
* @throws ExecutionException If the command fails
*/
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java
index 11be7ea..698d484 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java
@@ -16,7 +16,6 @@ import java.util.List;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IChannelInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.IDomainInfo;
import org.eclipse.linuxtools.internal.lttng2.core.control.model.ISessionInfo;
@@ -233,16 +232,6 @@ public class TraceSessionComponent extends TraceControlComponent {
/**
* Retrieves the session configuration from the node.
*
- * @throws ExecutionException
- * If the command fails
- */
- public void getConfigurationFromNode() throws ExecutionException {
- getConfigurationFromNode(new NullProgressMonitor());
- }
-
- /**
- * Retrieves the session configuration from the node.
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -264,16 +253,6 @@ public class TraceSessionComponent extends TraceControlComponent {
/**
* Starts the session.
*
- * @throws ExecutionException
- * If the command fails
- */
- public void startSession() throws ExecutionException {
- startSession(new NullProgressMonitor());
- }
-
- /**
- * Starts the session.
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -287,16 +266,6 @@ public class TraceSessionComponent extends TraceControlComponent {
/**
* Starts the session.
*
- * @throws ExecutionException
- * If the command fails
- */
- public void stopSession() throws ExecutionException {
- startSession(new NullProgressMonitor());
- }
-
- /**
- * Starts the session.
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -318,26 +287,6 @@ public class TraceSessionComponent extends TraceControlComponent {
* default)
* @param isKernel
* - a flag for indicating kernel or UST.
- * @throws ExecutionException
- * If the command fails
- */
- public void enableChannels(List<String> channelNames, IChannelInfo info,
- boolean isKernel) throws ExecutionException {
- enableChannels(channelNames, info, isKernel, new NullProgressMonitor());
- }
-
- /**
- * Enables channels with given names which are part of this domain. If a
- * given channel doesn't exists it creates a new channel with the given
- * parameters (or default values if given parameter is null).
- *
- * @param channelNames
- * - a list of channel names to enable on this domain
- * @param info
- * - channel information to set for the channel (use null for
- * default)
- * @param isKernel
- * - a flag for indicating kernel or UST.
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -359,23 +308,6 @@ public class TraceSessionComponent extends TraceControlComponent {
* - a flag for indicating kernel or UST.
* @param filterExpression
* - a filter expression
- * @throws ExecutionException
- * If the command fails
- */
- public void enableEvent(List<String> eventNames, boolean isKernel, String filterExpression)
- throws ExecutionException {
- enableEvents(eventNames, isKernel, filterExpression, new NullProgressMonitor());
- }
-
- /**
- * Enables a list of events with no additional parameters.
- *
- * @param eventNames
- * - a list of event names to enabled.
- * @param isKernel
- * - a flag for indicating kernel or UST.
- * @param filterExpression
- * - a filter expression
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -390,16 +322,6 @@ public class TraceSessionComponent extends TraceControlComponent {
/**
* Enables all syscalls (for kernel domain)
*
- * @throws ExecutionException
- * If the command fails
- */
- public void enableSyscalls() throws ExecutionException {
- enableSyscalls(new NullProgressMonitor());
- }
-
- /**
- * Enables all syscalls (for kernel domain)
- *
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -419,23 +341,6 @@ public class TraceSessionComponent extends TraceControlComponent {
* - true for dynamic function entry/return probe else false
* @param probe
* - the actual probe
- * @throws ExecutionException
- * If the command fails
- */
- public void enableProbe(String eventName, boolean isFunction, String probe)
- throws ExecutionException {
- enableProbe(eventName, isFunction, probe, new NullProgressMonitor());
- }
-
- /**
- * Enables a dynamic probe (for kernel domain)
- *
- * @param eventName
- * - event name for probe
- * @param isFunction
- * - true for dynamic function entry/return probe else false
- * @param probe
- * - the actual probe
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -458,26 +363,6 @@ public class TraceSessionComponent extends TraceControlComponent {
* - a log level
* @param filterExpression
* - a filter expression
- * @throws ExecutionException
- * If the command fails
- */
- public void enableLogLevel(String eventName, LogLevelType logLevelType,
- TraceLogLevel level, String filterExpression) throws ExecutionException {
- enableLogLevel(eventName, logLevelType, level, filterExpression,
- new NullProgressMonitor());
- }
-
- /**
- * Enables events using log level.
- *
- * @param eventName
- * - a event name
- * @param logLevelType
- * - a log level type
- * @param level
- * - a log level
- * @param filterExpression
- * - a filter expression
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -493,17 +378,6 @@ public class TraceSessionComponent extends TraceControlComponent {
/**
* Gets all available contexts to be added to channels/events.
*
- * @return the list of available contexts
- * @throws ExecutionException
- * If the command fails
- */
- public List<String> getContextList() throws ExecutionException {
- return getContextList(new NullProgressMonitor());
- }
-
- /**
- * Gets all available contexts to be added to channels/events.
- *
* @param monitor
* The monitor that will indicate the progress
* @return the list of available contexts
diff --git a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionGroup.java b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionGroup.java
index 8dea7ae..e9d7f6a 100644
--- a/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionGroup.java
+++ b/lttng/org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionGroup.java
@@ -109,20 +109,6 @@ public class TraceSessionGroup extends TraceControlComponent {
* - a session name to create
* @param sessionPath
* - a path for storing the traces (use null for default)
- * @throws ExecutionException
- * If the command fails
- */
- public void createSession(String sessionName, String sessionPath) throws ExecutionException {
- createSession(sessionName, sessionPath, new NullProgressMonitor());
- }
-
- /**
- * Creates a session with given session name and location.
- *
- * @param sessionName
- * - a session name to create
- * @param sessionPath
- * - a path for storing the traces (use null for default)
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -151,25 +137,6 @@ public class TraceSessionGroup extends TraceControlComponent {
* - a URL for control channel (networkUrl has to be null, dataUrl has to be set)
* @param dataUrl
* - a URL for data channel (networkUrl has to be null, controlUrl has to be set)
- * @throws ExecutionException
- * If the command fails
- */
- public void createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl) throws ExecutionException {
- createSession(sessionName, networkUrl, controlUrl, dataUrl, new NullProgressMonitor());
- }
-
- /**
- * Creates a session with given session name and location.
- *
- * @param sessionName
- * - a session name to create
- * @param networkUrl
- * - a network URL for common definition of data and control channel
- * or null if separate definition of data and control channel
- * @param controlUrl
- * - a URL for control channel (networkUrl has to be null, dataUrl has to be set)
- * @param dataUrl
- * - a URL for data channel (networkUrl has to be null, controlUrl has to be set)
* @param monitor
* - a progress monitor
* @throws ExecutionException
@@ -190,19 +157,6 @@ public class TraceSessionGroup extends TraceControlComponent {
*
* @param session
* - a session component to destroy
- * @throws ExecutionException
- * If the command fails
- */
- public void destroySession(TraceSessionComponent session)
- throws ExecutionException {
- destroySession(session, new NullProgressMonitor());
- }
-
- /**
- * Destroys a session with given session name.
- *
- * @param session
- * - a session component to destroy
* @param monitor
* - a progress monitor
* @throws ExecutionException