Class SupportAutomatedBundleConfiguration

    • Constructor Detail

      • SupportAutomatedBundleConfiguration

        public SupportAutomatedBundleConfiguration()
    • Method Detail

      • getComponentIds

        public List<String> getComponentIds()
      • getDefaultComponentIds

        public static List<String> getDefaultComponentIds()
        Get the default list of Component Ids for the automated bundle generation.
        a list of String
      • isEnabled

        public boolean isEnabled()
      • getPeriod

        public int getPeriod()
      • setComponentIds

        public void setComponentIds​(List<String> componentIds)
      • setEnabled

        public void setEnabled​(boolean enabled)
      • isEnforcedDisabled

        public boolean isEnforcedDisabled()
        Return if the enabled is enforced to false by the System Property SupportPlugin.AUTO_BUNDLE_PERIOD_HOURS. That is if the system property value is 0.
        true if enforced by system property, false otherwise
      • setPeriod

        public void setPeriod​(Integer period)
      • getComponents

        public List<Component> getComponents()
        Get the list of Component currently configured for automated bundle generation.
        The list of Component currently configured
      • isComponentSelected

        public boolean isComponentSelected​(Component component)
      • getApplicableComponents

        public static List<Component> getApplicableComponents()
        Get the list of applicable (and therefore selectable) Component for the automated bundle generation.
        a list of Component
      • parseRequest

        protected final List<String> parseRequest​(org.kohsuke.stapler.StaplerRequest req,
                                                  net.sf.json.JSONObject json)
        Parse the stapler JSON output and retrieve configured components.
        req - the request
        the DescribableList of components