@@ -0,0 +1,1455 @@
+/*%0A * Copyright (c) 2012-2018 Red Hat, Inc.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *   Red Hat, Inc. - initial API and implementation%0A */%0Apackage org.eclipse.che.api.workspace.server.wsnext;%0A%0Aimport com.google.common.annotations.Beta;%0Aimport java.util.Collection;%0Aimport org.eclipse.che.api.workspace.server.spi.InfrastructureException;%0Aimport org.eclipse.che.api.workspace.server.spi.environment.InternalEnvironment;%0Aimport org.eclipse.che.api.workspace.server.wsnext.model.CheService;%0A%0A/**%0A * Applies Workspace.Next configuration to an internal runtime object that represents workspace%0A * runtime configuration on an infrastructure level.%0A *%0A * @author Oleksander Garagatyi%0A */%0A@Beta%0Apublic interface WorkspaceNextApplier %7B%0A%0A  /**%0A   * Applies Workspace.Next configuration to internal environment.%0A   *%0A   * @param internalEnvironment infrastructure specific representation of workspace runtime%0A   *     environment%0A   * @param cheServices Workspace.Next configuration to apply to %7B@code internalEnvironment%7D%0A   * @throws InfrastructureException when applying Workspace.Next objects fails%0A   */%0A  void apply(InternalEnvironment internalEnvironment, Collection%3CCheService%3E cheServices)%0A      throws InfrastructureException;%0A%7D%0A

Add an interface to apply Workspace.Next objects to internal environment