congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WorkspaceRuntimes.injectRuntime
Code IndexAdd Tabnine to your IDE (free)

How to use
injectRuntime
method
in
org.eclipse.che.api.workspace.server.WorkspaceRuntimes

Best Java code snippets using org.eclipse.che.api.workspace.server.WorkspaceRuntimes.injectRuntime (Showing top 1 results out of 315)

origin: org.eclipse.che.core/che-core-api-workspace

private WorkspaceImpl normalizeState(WorkspaceImpl workspace, boolean includeRuntimes)
  throws ServerException {
 if (includeRuntimes) {
  runtimes.injectRuntime(workspace);
 } else {
  workspace.setStatus(runtimes.getStatus(workspace.getId()));
 }
 return workspace;
}
org.eclipse.che.api.workspace.serverWorkspaceRuntimesinjectRuntime

Javadoc

Injects runtime information such as status and org.eclipse.che.api.core.model.workspace.Runtime into the workspace object, if the workspace doesn't have runtime sets the status to WorkspaceStatus#STOPPED.

Popular methods of WorkspaceRuntimes

  • getRuntimeContext
    Returns an optional wrapping the runtime context of the workspace with the given identifier, an empt
  • asRuntime
  • copyEnv
  • createInternalEnvironment
  • getActive
    Gets the workspaces identifiers managed by this component. If an identifier is present in set then t
  • getInProgress
    Gets the list of workspace id's which are currently starting or stopping on given node. (it's status
  • getInternalRuntime
    Returns InternalRuntime implementation for workspace with the specified id.If memory-storage does no
  • getStatus
    Gets workspace status by its identifier.
  • getSupportedRecipes
  • hasRuntime
    Returns true if workspace was started and its status is WorkspaceStatus#RUNNING, WorkspaceStatus#STA
  • isAnyActive
    Returns true if there is at least one workspace active(it's status is different from WorkspaceStatus
  • isAnyInProgress
    Returns true if there is at least one local workspace starting or stopping (it's status is Workspace
  • isAnyActive,
  • isAnyInProgress,
  • publishWorkspaceStatusEvent,
  • recover,
  • recoverOne,
  • refuseStart,
  • sessionUserNameOr,
  • setRuntimesId,
  • startAsync

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now