diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java | 65 |
1 files changed, 4 insertions, 61 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java index e33c4d547..421cbc714 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/interfaces/IStepperService.java @@ -9,8 +9,8 @@ *******************************************************************************/ package org.eclipse.tcf.te.runtime.stepper.interfaces; -import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer; import org.eclipse.tcf.te.runtime.services.interfaces.IService; +import org.eclipse.tcf.te.runtime.stepper.job.AbstractStepperJobSchedulingRule; /** * Stepper service. @@ -18,67 +18,10 @@ import org.eclipse.tcf.te.runtime.services.interfaces.IService; public interface IStepperService extends IService { /** - * Checks if this service can handle the given operation. + * Get a job scheduling rule for the given context. * @param context The context. Must not be <code>null</code>. * @param operation The operation. Must not be <code>null</code>. - * @return <code>true</code> if this service handles the given operation. + * @return The scheduling rule or <code>null</code>. */ - public boolean isHandledOperation(Object context, String operation); - - /** - * Get the step group id for the given context and operation - * or <code>null</code> if this operation is not available. - * - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return The step group id or <code>null</code>. - */ - public String getStepGroupId(Object context, String operation); - - - /** - * Get the step group name for the given context and operation - * or <code>null</code> if this operation is not available. - * - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return The step group name or <code>null</code>. - */ - public String getStepGroupName(Object context, String operation); - - /** - * Get the step context for the given context and operation - * or <code>null</code> if this operation is not available. - * - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return The step context or <code>null</code>. - */ - public IStepContext getStepContext(Object context, String operation); - - /** - * Get the step data for the given context and operation. - * - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return The step data or an empty properties container. - */ - public IPropertiesContainer getStepData(Object context, String operation); - - /** - * Get the enabled state for the given operation. - * - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return <code>true</code> if the operation is enabled. - */ - public boolean isEnabled(Object context, String operation); - - /** - * Returns <code>true</code> if the given operation can be canceled. - * @param context The context. Must not be <code>null</code>. - * @param operation The operation. Must not be <code>null</code>. - * @return <code>true</code> if the operation can be canceled. - */ - public boolean isCancelable(Object context, String operation); + public AbstractStepperJobSchedulingRule getSchedulingRule(Object context, String operation); } |