-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2461 from eclipse/CHE-1929
CHE-1929. Do not use machine API for machine handling
- Loading branch information
Showing
75 changed files
with
1,260 additions
and
1,124 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
38 changes: 38 additions & 0 deletions
38
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/machine/MachineEntity.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,38 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2012-2016 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.machine; | ||
|
||
import org.eclipse.che.api.core.model.machine.Machine; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* Defines machine entity on client side. | ||
* | ||
* @author Roman Nikitenko | ||
*/ | ||
public interface MachineEntity extends Machine { | ||
|
||
/** Returns {@code true} when the machine entity is development machine and {@code false} otherwise */ | ||
boolean isDev(); | ||
|
||
/** Machine type (i.e. "docker"). */ | ||
String getType(); | ||
|
||
/** Returns current machine's display name */ | ||
String getDisplayName(); | ||
|
||
/** Returns machine specific properties. */ | ||
Map<String, String> getProperties(); | ||
|
||
/** Returns url to connects to special WebSocket which allows get information from terminal on server side. */ | ||
String getTerminalUrl(); | ||
} |
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
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
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
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
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
Oops, something went wrong.