public class GetLocalConfigurationSelectionDialog extends Object implements ResourceRequest<Optional<org.eclipse.lyo.oslc4j.core.model.Dialog>>
GetGlobalConfigurationSelectionDialog
Constructor and Description |
---|
GetLocalConfigurationSelectionDialog(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.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.lyo.oslc4j.core.model.Dialog> |
call()
Returns the dialog to select a configuration defined locally in an OSLC application.
|
public GetLocalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation)
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.
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
)GetLocalConfigurationSelectionDialog(OslcClient, URI, URI)
public GetLocalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation, URI serviceProviderLocation)
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.public Optional<org.eclipse.lyo.oslc4j.core.model.Dialog> call()
Optional.empty()
if no selection dialog can be found for such configuration.