Package hudson.slaves

Class JNLPLauncher

    • Method Detail

      • readResolve

        protected Object readResolve()
      • getWorkDirSettings

        public RemotingWorkDirSettings getWorkDirSettings()
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • setWorkDirSettings

        @DataBoundSetter
        public final void setWorkDirSettings​(@NonNull
                                             RemotingWorkDirSettings workDirSettings)
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • isWebSocket

        public boolean isWebSocket()
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • setWebSocket

        @DataBoundSetter
        public void setWebSocket​(boolean webSocket)
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • getTunnel

        public String getTunnel()
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • setTunnel

        @DataBoundSetter
        public void setTunnel​(String tunnel)
        Deprecated (only used with deprecated -jnlpUrl mode), but cannot mark it as such without breaking CasC.
      • getRemotingOptionsUnix

        @NonNull
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public String getRemotingOptionsUnix​(@NonNull
                                             Computer computer)
      • getRemotingOptionsWindows

        @NonNull
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public String getRemotingOptionsWindows​(@NonNull
                                                Computer computer)
      • isConfigured

        @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
        public boolean isConfigured()
      • getWorkDirOptions

        @NonNull
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public String getWorkDirOptions​(@NonNull
                                        Computer computer)
        Gets work directory options as a String. In public API getWorkDirSettings().toCommandLineArgs(computer) should be used instead
        Parameters:
        computer - Computer
        Returns:
        Command line options for launching with the WorkDir
      • getInboundAgentUrl

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public static String getInboundAgentUrl()
        Overrides the url that inbound TCP agents should connect to as advertised in the agent.jnlp file. If not set, the default behavior is unchanged and returns the root URL. This enables using a private address for inbound tcp agents, separate from Jenkins root URL.
        See Also:
        JENKINS-63222