Interface GeneralCloudServiceProvider

    • Method Detail

      • getServicesAsUniqueId

        java.util.Collection<java.util.UUID> getServicesAsUniqueId()
        Gets a list with the uniqueIds of all services in the cloud
        Returns:
        a list containing the uniqueIds of every service in the whole cloud
      • getCloudServices

        java.util.Collection<ServiceInfoSnapshot> getCloudServices()
        Gets a list with the infos of all services in the cloud
        Returns:
        a list containing the infos of every service in the whole cloud
      • getStartedCloudServices

        java.util.Collection<ServiceInfoSnapshot> getStartedCloudServices()
        Gets a list with the infos of all started services in the cloud
        Returns:
        a list containing the infos of every started service in the whole cloud
      • getCloudServices

        java.util.Collection<ServiceInfoSnapshot> getCloudServices​(java.lang.String taskName)
        Gets a list with the infos of all services in the cloud that are from the given task
        Parameters:
        taskName - the name of the task every service in the list should have
        Returns:
        a list containing the infos of every service with the given task in the whole cloud
      • getCloudServices

        java.util.Collection<ServiceInfoSnapshot> getCloudServices​(ServiceEnvironmentType environment)
        Gets a list with the infos of all services in the cloud that have the given environment
        Parameters:
        environment - the environment every service in the list should have
        Returns:
        a list containing the infos of every service with the given environment in the whole cloud
      • getCloudServicesByGroup

        java.util.Collection<ServiceInfoSnapshot> getCloudServicesByGroup​(java.lang.String group)
        Gets a list with the infos of all services in the cloud that have the given group
        Parameters:
        group - the name of the task every service in the list should have
        Returns:
        a list containing the infos of every service with the given group in the whole cloud
      • getServicesCount

        int getServicesCount()
        Gets the amount of services in the cloud
        Returns:
        an integer for the amount of services in the whole cloud
      • getServicesCountByGroup

        int getServicesCountByGroup​(java.lang.String group)
        Gets the amount of services by the given group in the cloud
        Parameters:
        group - the group every service counting should have
        Returns:
        an integer for the amount of services in the whole cloud
      • getServicesCountByTask

        int getServicesCountByTask​(java.lang.String taskName)
        Gets the amount of services by the given task in the cloud
        Parameters:
        taskName - the task every service counting should have
        Returns:
        an integer for the amount of services in the whole cloud
      • getCloudServiceByName

        ServiceInfoSnapshot getCloudServiceByName​(java.lang.String name)
        Gets the info of a cloud service by its name
        Parameters:
        name - the name of the service
        Returns:
        the info of the service or null if the service doesn't exist
      • getCloudService

        ServiceInfoSnapshot getCloudService​(java.util.UUID uniqueId)
        Gets the info of a cloud service by its uniqueId
        Parameters:
        uniqueId - the uniqueId of the service
        Returns:
        the info of the service or null if the service doesn't exist
      • getServicesAsUniqueIdAsync

        ITask<java.util.Collection<java.util.UUID>> getServicesAsUniqueIdAsync()
        Gets a list with the uniqueIds of all services in the cloud
        Returns:
        a list containing the uniqueIds of every service in the whole cloud
      • getCloudServicesAsync

        ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync()
        Gets a list with the infos of all services in the cloud
        Returns:
        a list containing the infos of every service in the whole cloud
      • getStartedCloudServicesAsync

        ITask<java.util.Collection<ServiceInfoSnapshot>> getStartedCloudServicesAsync()
        Gets a list with the infos of all started services in the cloud
        Returns:
        a list containing the infos of every started service in the whole cloud
      • getCloudServicesAsync

        ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync​(java.lang.String taskName)
        Gets a list with the infos of all services in the cloud that are from the given task
        Parameters:
        taskName - the name of the task every service in the list should have
        Returns:
        a list containing the infos of every service with the given task in the whole cloud
      • getCloudServicesAsync

        ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesAsync​(ServiceEnvironmentType environment)
        Gets a list with the infos of all services in the cloud that have the given environment
        Parameters:
        environment - the environment every service in the list should have
        Returns:
        a list containing the infos of every service with the given environment in the whole cloud
      • getCloudServicesByGroupAsync

        ITask<java.util.Collection<ServiceInfoSnapshot>> getCloudServicesByGroupAsync​(java.lang.String group)
        Gets a list with the infos of all services in the cloud that have the given group
        Parameters:
        group - the name of the task every service in the list should have
        Returns:
        a list containing the infos of every service with the given group in the whole cloud
      • getServicesCountAsync

        ITask<java.lang.Integer> getServicesCountAsync()
        Gets the amount of services in the cloud
        Returns:
        an integer for the amount of services in the whole cloud
      • getServicesCountByGroupAsync

        ITask<java.lang.Integer> getServicesCountByGroupAsync​(java.lang.String group)
        Gets the amount of services by the given group in the cloud
        Parameters:
        group - the group every service counting should have
        Returns:
        an integer for the amount of services in the whole cloud
      • getServicesCountByTaskAsync

        ITask<java.lang.Integer> getServicesCountByTaskAsync​(java.lang.String taskName)
        Gets the amount of services by the given task in the cloud
        Parameters:
        taskName - the task every service counting should have
        Returns:
        an integer for the amount of services in the whole cloud
      • getCloudServiceByNameAsync

        ITask<ServiceInfoSnapshot> getCloudServiceByNameAsync​(java.lang.String name)
        Gets the info of a cloud service by its name
        Parameters:
        name - the name of the service
        Returns:
        the info of the service or null if the service doesn't exist
      • getCloudServiceAsync

        ITask<ServiceInfoSnapshot> getCloudServiceAsync​(java.util.UUID uniqueId)
        Gets the info of a cloud service by its uniqueId
        Parameters:
        uniqueId - the uniqueId of the service
        Returns:
        the info of the service or null if the service doesn't exist