Class RemoteAddCommand

    • Field Detail

      • name

        private java.lang.String name
    • Constructor Detail

      • RemoteAddCommand

        protected RemoteAddCommand​(Repository repo)
        Constructor for RemoteAddCommand.
        Parameters:
        repo - the Repository
    • Method Detail

      • setName

        public RemoteAddCommand setName​(java.lang.String name)
        The name of the remote to add.
        Parameters:
        name - a remote name
        Returns:
        this instance
        Since:
        5.0
      • setUri

        public RemoteAddCommand setUri​(URIish uri)
        The URL of the repository for the new remote.
        Parameters:
        uri - an URL for the remote
        Returns:
        this instance
        Since:
        5.0