Class CachetMatrixAction

java.lang.Object
com.redhat.jenkins.plugins.cachet.matrix.CachetMatrixAction
All Implemented Interfaces:
Action, ModelObject, org.kohsuke.stapler.StaplerProxy

public class CachetMatrixAction extends Object implements Action, org.kohsuke.stapler.StaplerProxy
  • Constructor Details

    • CachetMatrixAction

      public CachetMatrixAction(hudson.matrix.MatrixProject project)
  • Method Details

    • getIconFileName

      public String getIconFileName()
      Specified by:
      getIconFileName in interface Action
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Action
      Specified by:
      getDisplayName in interface ModelObject
    • getUrlName

      public String getUrlName()
      Specified by:
      getUrlName in interface Action
    • getTarget

      public Object getTarget()
      Specified by:
      getTarget in interface org.kohsuke.stapler.StaplerProxy
    • isChecked

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean isChecked(String combination)
    • isSelected

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public boolean isSelected(String combination, String resource)
    • getResourceNames

      @Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public List<String> getResourceNames()
    • getAxis

      public Iterable<hudson.matrix.Combination> getAxis()
      Returns:
      all the possible combinations
    • setCachetProperty

      protected void setCachetProperty(hudson.matrix.Combination combination, List<String> resources) throws IOException
      Taking the resources for some combination from the UI into the correct configuration.
      Throws:
      IOException
    • doSave

      public void doSave(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
      Throws:
      IOException