Class MatlabBuilder.MatlabDescriptor

  • All Implemented Interfaces:
    hudson.model.Saveable, jenkins.util.io.OnMaster
    Enclosing class:
    MatlabBuilder

    @Extension
    public static class MatlabBuilder.MatlabDescriptor
    extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class hudson.model.Descriptor

        hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
    • Field Summary

      • Fields inherited from class hudson.model.Descriptor

        clazz
      • Fields inherited from interface hudson.model.Saveable

        NOOP
    • Constructor Detail

      • MatlabDescriptor

        public MatlabDescriptor()
    • Method Detail

      • getMatlabRoot

        public String getMatlabRoot()
      • setMatlabRoot

        public void setMatlabRoot​(String matlabRoot)
      • getDisplayName

        public String getDisplayName()
        Overrides:
        getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>
      • configure

        public boolean configure​(org.kohsuke.stapler.StaplerRequest req,
                                 net.sf.json.JSONObject formData)
                          throws hudson.model.Descriptor.FormException
        Overrides:
        configure in class hudson.model.Descriptor<hudson.tasks.Builder>
        Throws:
        hudson.model.Descriptor.FormException
      • isApplicable

        public boolean isApplicable​(Class<? extends hudson.model.AbstractProject> jobtype)
        Specified by:
        isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
      • doCheckMatlabRoot

        public hudson.util.FormValidation doCheckMatlabRoot​(@QueryParameter
                                                            String matlabRoot)
      • getFirstErrorOrWarning

        public hudson.util.FormValidation getFirstErrorOrWarning​(List<Function<String,​hudson.util.FormValidation>> validations,
                                                                 String matlabRoot)