@@ -0,0 +1,1670 @@
+/*%0A * Copyright 2017 the original author or authors.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.springframework.cloud.deployer.spi.app;%0A%0Aimport java.util.Map;%0A%0A/**%0A * Extension of the AppDeployer interface that adds an additional%0A * method to return the DeploymentState for a collection of deployment ids.%0A *%0A * @deprecated This interface and its single method has been introduced for a tactical %0A * reason to provide an optimization of individual operation execution in the AppDeployer %0A * interface.  It is planned that the next major version of Spring Cloud Deployer will %0A * provide a new interface for bulk operations for the full set of AppDeployer methods. %0A * As such, this interface is annotated as Deprecated.%0A */%0A@Deprecated%0Apublic interface MultiStateAppDeployer extends AppDeployer %7B%0A%0A    /**%0A     * Return the %7B@link DeploymentState%7D for all the apps represented by%0A     * a collection of deployment ids.%0A     *%0A     * @param ids the collection of app deployment ids, as returned by %7B@link #deploy%7D%0A     * @return a Map of deployment id and DeploymentState%0A     */%0A    Map%3CString, DeploymentState%3E states(String ... ids);%0A%7D%0A

Add MultiStateAppDeployer interface