Class GetLocalConfigurationSelectionDialog
java.lang.Object
com.sodius.oslc.app.jazz.requests.GetLocalConfigurationSelectionDialog
public class GetLocalConfigurationSelectionDialog
extends Object
implements ResourceRequest<Optional<Dialog>>
Retrieves a dialog to select a configuration defined locally in an OSLC application.
- Since:
- 1.3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGetLocalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation) Creates a request to retrieve the dialog to select a configuration defined locally in an OSLC application.GetLocalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation, URI serviceProviderLocation) Creates a request to retrieve the dialog to select a configuration defined locally in an OSLC application for the specified project. -
Method Summary
-
Constructor Details
-
GetLocalConfigurationSelectionDialog
Creates a request to retrieve the dialog to select a configuration defined locally in an OSLC application.Using this constructor, the dialog shows an area for the user to select the project within which to look for configurations. If the project is known and shall not be selected by the user within the dialog, use the constructor that specified the URI of the project.
- Parameters:
client- the OSLC client to connect to the application.rootServicesLocation- the URI of an OSLC application root services (e.g.https://myserver:9443/rm/rootservices)- See Also:
-
GetLocalConfigurationSelectionDialog
public GetLocalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation, URI serviceProviderLocation) Creates a request to retrieve the dialog to select a configuration defined locally in an OSLC application for the specified project.- Parameters:
client- the OSLC client to connect to the application.rootServicesLocation- the URI of an OSLC application root services (e.g.https://myserver:9443/rm/rootservices)serviceProviderLocation- the URI of a service provider for which a configuration is to select.
-
-
Method Details
-
call
Returns the dialog to select a configuration defined locally in an OSLC application. This method returnsOptional.empty()if no selection dialog can be found for such configuration.
-