Class GetGlobalConfigurationSelectionDialog

java.lang.Object
com.sodius.oslc.app.jazz.requests.GetGlobalConfigurationSelectionDialog
All Implemented Interfaces:
ResourceRequest<Optional<Dialog>>, Callable<Optional<Dialog>>

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:
  • Constructor Details

    • 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 Details

    • 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 returns Optional.empty() if the OSLC application has no registered friend for Jazz Global Configuration or if the user has no access to this friend information.
      Specified by:
      call in interface Callable<Optional<Dialog>>
      Specified by:
      call in interface ResourceRequest<Optional<Dialog>>