forked from eclipse-che/che
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't share breakpoints between workspaces (eclipse-che#5288)
CHE-5288: Don't share breakpoints between workspaces
- Loading branch information
Anatoliy Bazko
committed
Jun 8, 2017
1 parent
22de7d5
commit 2c9f78f
Showing
9 changed files
with
411 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/debug/BreakpointStorage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2012-2017 Codenvy, S.A. | ||
* 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: | ||
* Codenvy, S.A. - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.che.ide.api.debug; | ||
|
||
import org.eclipse.che.api.promises.client.Promise; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* Preserves and loads breakpoints for the active workspace. | ||
* | ||
* @author Anatolii Bazko | ||
*/ | ||
public interface BreakpointStorage { | ||
|
||
/** | ||
* Preserves breakpoints into a storage. | ||
* | ||
* @param breakpoints | ||
* the list of the breakpoints | ||
*/ | ||
void addAll(List<Breakpoint> breakpoints); | ||
|
||
/** | ||
* Preserve a single breakpoints into a storage. | ||
* | ||
* @param breakpoint | ||
* the breakpoint | ||
*/ | ||
void add(Breakpoint breakpoint); | ||
|
||
/** | ||
* Removes breakpoints out of the storage. | ||
* | ||
* @param breakpoint | ||
* the breakpoint | ||
*/ | ||
void delete(Breakpoint breakpoint); | ||
|
||
|
||
/** | ||
* Removes breakpoints out of the storage. | ||
* | ||
* @param breakpoints | ||
* the list of the breakpoints | ||
*/ | ||
void deleteAll(List<Breakpoint> breakpoints); | ||
|
||
/** | ||
* Clears storage. | ||
*/ | ||
void clear(); | ||
|
||
/** | ||
* Loads all breakpoints out of the storage. | ||
* | ||
* @return the list of the breakpoints | ||
*/ | ||
Promise<List<Breakpoint>> readAll(); | ||
} |
40 changes: 0 additions & 40 deletions
40
...e-core-ide-api/src/main/java/org/eclipse/che/ide/api/debug/dto/StorableBreakpointDto.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.