Interface ServerSelectionModel.Server

    • Method Detail

      • getDisplayName

        String getDisplayName()
        Returns:
        Name of this server, shown to the user.
      • getId

        long getId()
        Returns:
        Unique ID for this server.
      • getProvideLink

        String getProvideLink​(boolean useId)
        Parameters:
        useId - If false, uses the form and client alias for the link. Otherwise, uses the client and project ID.
        Returns:
        Link for opening the form with this server. (/form/provide)
      • getPreAliasLink

        String getPreAliasLink()
        Returns:
        String form request link part before alias
      • getBaseUrl

        String getBaseUrl()
        Returns:
        Formcycle base URL. (eg. localhost:8080/xima-formcycle/)
      • getFormIncludeUrl

        String getFormIncludeUrl()
        Returns:
        Link for the include script. (/form/include.js?form_base=...)
      • getBaseFormIncludeUrl

        String getBaseFormIncludeUrl()
        Returns:
        Link for the include script. (/form/include.js)
      • getBaseFormProvideUrl

        String getBaseFormProvideUrl()
        Returns:
        String base of the form provide url
      • getIncludeUrlFor

        String getIncludeUrlFor​(String resourceName)
        Parameters:
        resourceName - Name of a resource to include.
        Returns:
        URL for the given resource (eg. jQuery)