blob: 8ea36ab52ec9197af7bc7a1acf3e6729ef86908b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/*******************************************************************************
* Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wind River Systems - initial API and implementation
*******************************************************************************/
package org.eclipse.tcf.te.runtime.stepper.interfaces;
import java.util.Map;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.tcf.te.runtime.interfaces.extensions.IExecutableExtension;
/**
* A step group.
* <p>
* A step group is a set of single steps or other step groups.
*/
public interface IStepGroup extends IExecutableExtension {
/**
* Returns if or if not the step group is locked for user modifications.
*
* @return <code>True</code> if locked for user modifications, <code>false</code> otherwise.
*/
public boolean isLocked();
/**
* Returns the list of steps or step groups enlisted and enabled in the group for the
* given context.
*
* @param context The step context object. Must not be <code>null</code>.
* @return The list of steps and step groups or an empty array.
*
* @throws CoreException If the steps cannot be determined.
*/
public IStepGroupable[] getSteps(IStepContext context) throws CoreException;
/**
* Return the step group iterator or <code>null</code>. The step group iterator can be used to
* generate loops and conditions for a step group.
*/
public IStepGroupIterator getStepGroupIterator();
/**
* Set additional parameters for this step
* @param parameters
*/
public void setParameters(Map<String,String> parameters);
/**
* Returns a map of additional parameters given through the parameters section in the Reference section of a StepGroups.
* @return The parameters of an empty Map.
*/
public Map<String,String> getParameters();
}
|