Class RemoteNameSCMSourceTrait

    • Constructor Detail

      • RemoteNameSCMSourceTrait

        @DataBoundConstructor
        public RemoteNameSCMSourceTrait​(@CheckForNull
                                        String remoteName)
        Stapler constructor.
        Parameters:
        remoteName - the remote name.
    • Method Detail

      • getRemoteName

        @NonNull
        public String getRemoteName()
        Gets the remote name.
        Returns:
        the remote name.
      • decorateContext

        protected void decorateContext​(jenkins.scm.api.trait.SCMSourceContext<?,​?> context)
        Overrides:
        decorateContext in class jenkins.scm.api.trait.SCMSourceTrait
      • decorateBuilder

        protected void decorateBuilder​(jenkins.scm.api.trait.SCMBuilder<?,​?> builder)
        Overrides:
        decorateBuilder in class jenkins.scm.api.trait.SCMSourceTrait