Class GetGlobalConfigurationSelectionDialog
- java.lang.Object
-
- com.sodius.oslc.app.jazz.requests.GetGlobalConfigurationSelectionDialog
-
public class GetGlobalConfigurationSelectionDialog extends Object implements ResourceRequest<Optional<Dialog>>
Retrieves a dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend of a specific OSLC application.- Since:
- 1.3.0
- See Also:
GetGlobalConfigurationFriend
,GetLocalConfigurationSelectionDialog
-
-
Constructor Summary
Constructors Constructor Description GetGlobalConfigurationSelectionDialog(OslcClient client, Friend friend)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration friend application.GetGlobalConfigurationSelectionDialog(OslcClient client, FriendProvider friendProvider)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend in the specified provider.GetGlobalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend of a specific OSLC application.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Dialog>
call()
Returns the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend of a specific OSLC application.
-
-
-
Constructor Detail
-
GetGlobalConfigurationSelectionDialog
public GetGlobalConfigurationSelectionDialog(OslcClient client, URI rootServicesLocation)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend of a specific OSLC application.- 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
) which has friends.
-
GetGlobalConfigurationSelectionDialog
public GetGlobalConfigurationSelectionDialog(OslcClient client, FriendProvider friendProvider)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend in the specified provider.- Parameters:
client
- the OSLC client to connect to the application.friendProvider
- a provider of friends.- Since:
- 1.4.0
-
GetGlobalConfigurationSelectionDialog
public GetGlobalConfigurationSelectionDialog(OslcClient client, Friend friend)
Creates a request to retrieve the dialog to select a configuration defined in the Jazz Global Configuration friend application.- Parameters:
client
- the OSLC client to connect to the application.friend
- a Jazz Global Configuration friend application.- Since:
- 1.11.0
-
-
Method Detail
-
call
public Optional<Dialog> call()
Returns the dialog to select a configuration defined in the Jazz Global Configuration application registered as a friend of a specific OSLC application. This method returnsOptional.empty()
if the OSLC application has no registered friend for Jazz Global Configuration or if the user has no access to this friend information.
-
-