Class Remote

    • Constructor Detail

      • Remote

        public Remote()
    • Method Detail

      • getId

        public String getId()
        Get the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
        Returns:
        String
      • getTransport

        public String getTransport()
        Get the transport to use, currently, only 'resolver' is supported.
        Returns:
        String
      • getUrl

        public String getUrl()
        Get address of remote cache.
        Returns:
        String
      • isEnabled

        public boolean isEnabled()
        Get the enabled field.
        Returns:
        boolean
      • isSaveToRemote

        public boolean isSaveToRemote()
        Get save output to remote cache. Recommended to enable on CI agents only.
        Returns:
        boolean
      • setEnabled

        public void setEnabled​(boolean enabled)
        Set the enabled field.
        Parameters:
        enabled - a enabled object.
      • setId

        public void setId​(String id)
        Set the repository id used to find authentication / mirror information in maven settings, default to 'cache'.
        Parameters:
        id - a id object.
      • setSaveToRemote

        public void setSaveToRemote​(boolean saveToRemote)
        Set save output to remote cache. Recommended to enable on CI agents only.
        Parameters:
        saveToRemote - a saveToRemote object.
      • setTransport

        public void setTransport​(String transport)
        Set the transport to use, currently, only 'resolver' is supported.
        Parameters:
        transport - a transport object.
      • setUrl

        public void setUrl​(String url)
        Set address of remote cache.
        Parameters:
        url - a url object.