88import java .util .Set ;
99import java .util .UUID ;
1010
11- import org .cloudfoundry .client .v3 .Metadata ;
12-
1311import com .sap .cloudfoundry .client .facade .domain .CloudApplication ;
1412import com .sap .cloudfoundry .client .facade .domain .CloudAsyncJob ;
1513import com .sap .cloudfoundry .client .facade .domain .CloudBuild ;
3432import com .sap .cloudfoundry .client .facade .domain .Upload ;
3533import com .sap .cloudfoundry .client .facade .domain .UserRole ;
3634import com .sap .cloudfoundry .client .facade .dto .ApplicationToCreateDto ;
35+ import org .cloudfoundry .client .v3 .Metadata ;
3736
3837/**
3938 * The interface defining operations making up the Cloud Foundry Java client's API.
40- *
4139 */
4240public interface CloudControllerClient {
4341
@@ -104,15 +102,13 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
104102 String createServiceBroker (CloudServiceBroker serviceBroker );
105103
106104 /**
107- *
108105 * @param keyModel service-key cloud object
109106 * @param serviceInstanceName name of related service instance
110107 * @return the service-key object populated with new guid
111108 */
112109 CloudServiceKey createAndFetchServiceKey (CloudServiceKey keyModel , String serviceInstanceName );
113110
114111 /**
115- *
116112 * @param keyModel service-key cloud object
117113 * @param serviceInstanceName name of related service instance
118114 * @return job id for async polling if present
@@ -121,7 +117,7 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
121117
122118 /**
123119 * Create a service key.
124- *
120+ *
125121 * @param serviceInstanceName name of service instance
126122 * @param serviceKeyName name of service-key
127123 * @param parameters parameters of service-key
@@ -171,7 +167,6 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
171167 void deleteServiceInstance (String serviceInstance );
172168
173169 /**
174- *
175170 * @param serviceInstance {@link CloudServiceInstance}
176171 */
177172 void deleteServiceInstance (CloudServiceInstance serviceInstance );
@@ -194,7 +189,7 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
194189
195190 /**
196191 * Delete a service binding.
197- *
192+ *
198193 * @param serviceInstanceName name of service instance
199194 * @param serviceKeyName name of service key
200195 * @return job id for async polling if present
@@ -203,7 +198,7 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
203198
204199 /**
205200 * Delete a service binding.
206- *
201+ *
207202 * @param bindingGuid The GUID of the binding
208203 * @param serviceBindingOperationCallback callback used for error handling
209204 * @return job id for async polling if present
@@ -287,6 +282,8 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
287282
288283 boolean getApplicationSshEnabled (UUID applicationGuid );
289284
285+ Map <String , Boolean > getApplicationFeatures (UUID applicationGuid );
286+
290287 /**
291288 * Get all applications in the currently targeted space. This method has EXTREMELY poor performance for spaces with a lot of
292289 * applications.
@@ -364,7 +361,7 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
364361
365362 /**
366363 * Get the GUID of a service instance.
367- *
364+ *
368365 * @param serviceInstanceName the name of the service instance
369366 * @return the service instance GUID
370367 */
@@ -447,7 +444,7 @@ Optional<String> bindServiceInstance(String bindingName, String applicationName,
447444
448445 /**
449446 * Get all user-provided service instance parameters
450- *
447+ *
451448 * @param guid The service instance guid
452449 * @return user-provided service instance parameters in key-value pairs
453450 */
@@ -670,7 +667,7 @@ CloudPackage asyncUploadApplicationWithExponentialBackoff(String applicationName
670667
671668 /**
672669 * Get the list of one-off tasks currently known for the given application.
673- *
670+ *
674671 * @param applicationName the application to look for tasks
675672 * @return the list of known tasks
676673 * @throws UnsupportedOperationException if the targeted controller does not support tasks
@@ -679,7 +676,7 @@ CloudPackage asyncUploadApplicationWithExponentialBackoff(String applicationName
679676
680677 /**
681678 * Run a one-off task on an application.
682- *
679+ *
683680 * @param applicationName the application to run the task on
684681 * @param task the task to run
685682 * @return the ran task
@@ -689,7 +686,7 @@ CloudPackage asyncUploadApplicationWithExponentialBackoff(String applicationName
689686
690687 /**
691688 * Cancel the given task.
692- *
689+ *
693690 * @param taskGuid the GUID of the task to cancel
694691 * @return the cancelled task
695692 */
0 commit comments