Class GetGlobalConfigurationSelectionDialog

    • 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<org.eclipse.lyo.oslc4j.core.model.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<org.eclipse.lyo.oslc4j.core.model.Dialog>>
        Specified by:
        call in interface ResourceRequest<Optional<org.eclipse.lyo.oslc4j.core.model.Dialog>>