Class BuildChooserDescriptor

    • Constructor Detail

      • BuildChooserDescriptor

        public BuildChooserDescriptor()
    • Method Detail

      • getLegacyId

        public String getLegacyId()
        Before this extension point was formalized, existing BuildChoosers had a hard-coded ID name used for the persistence. This method returns those legacy ID, if any, to keep compatibility with existing data.
        Returns:
        legacy ID, if any, to keep compatibility with existing data.
      • isApplicable

        public boolean isApplicable​(Class<? extends Item> job)
        Returns true if this build chooser is applicable to the given job type.
        Parameters:
        job - the type of job or item.
        Returns:
        true to allow user to select this build chooser.