Class OctoInstallation

  • All Implemented Interfaces:
    hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<OctoInstallation>, hudson.slaves.NodeSpecific<OctoInstallation>, java.io.Serializable

    public class OctoInstallation
    extends hudson.tools.ToolInstallation
    implements hudson.slaves.NodeSpecific<OctoInstallation>, hudson.model.EnvironmentSpecific<OctoInstallation>
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OctoInstallation.DescriptorImpl  
      • Nested classes/interfaces inherited from class hudson.tools.ToolInstallation

        hudson.tools.ToolInstallation.ToolConverter
      • Nested classes/interfaces inherited from interface hudson.ExtensionPoint

        hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT  
    • Constructor Summary

      Constructors 
      Constructor Description
      OctoInstallation​(java.lang.String name, java.lang.String home)  
    • Constructor Detail

      • OctoInstallation

        @DataBoundConstructor
        public OctoInstallation​(java.lang.String name,
                                java.lang.String home)
    • Method Detail

      • forNode

        public OctoInstallation forNode​(@NonNull
                                        hudson.model.Node node,
                                        hudson.model.TaskListener log)
                                 throws java.io.IOException,
                                        java.lang.InterruptedException
        Specified by:
        forNode in interface hudson.slaves.NodeSpecific<OctoInstallation>
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • forEnvironment

        public OctoInstallation forEnvironment​(hudson.EnvVars environment)
        Specified by:
        forEnvironment in interface hudson.model.EnvironmentSpecific<OctoInstallation>
      • readResolve

        protected java.lang.Object readResolve()
        Overrides:
        readResolve in class hudson.tools.ToolInstallation
      • getPathToOctoExe

        public java.lang.String getPathToOctoExe​(hudson.model.Node builtOn,
                                                 hudson.EnvVars env,
                                                 hudson.model.TaskListener taskListener)
      • getDefaultInstallation

        public static OctoInstallation getDefaultInstallation()
      • onLoaded

        @Initializer(after=EXTENSIONS_AUGMENTED)
        public static void onLoaded()
      • getDescriptor

        public OctoInstallation.DescriptorImpl getDescriptor()
        Specified by:
        getDescriptor in interface hudson.model.Describable<hudson.tools.ToolInstallation>
        Overrides:
        getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>