org.jenkinsci.plugins.buildenvironment.actions
Class BuildEnvironmentBuildAction

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Actionable
          extended by org.jenkinsci.plugins.buildenvironment.actions.BuildEnvironmentBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem, jenkins.model.ModelObjectWithContextMenu

public class BuildEnvironmentBuildAction
extends hudson.model.Actionable
implements hudson.model.Action


Nested Class Summary
 
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
jenkins.model.ModelObjectWithContextMenu.ContextMenu, jenkins.model.ModelObjectWithContextMenu.MenuItem
 
Constructor Summary
BuildEnvironmentBuildAction(hudson.model.Run<?,?> build)
          Constructor method.
 
Method Summary
 void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 hudson.model.AbstractProject<?,?> getAbstractProject()
           
 String getBackgroundColor(boolean change)
           
 hudson.model.AbstractBuild<?,?> getBuild()
           
 hudson.model.AbstractBuild<?,?> getBuild1()
           
 hudson.model.AbstractBuild<?,?> getBuild2()
           
 hudson.util.RunList<?> getBuilds()
           
 List<hudson.model.AbstractBuild<?,?>> getBuildsWithAction()
           
 List<Data> getDataHoldersList()
           
 List<DataDifferenceObject> getDifference()
           
 int getDifferentCount(Data data)
           
 String getDisplayName()
           
 String getIconFileName()
           
 hudson.model.Job<?,?> getProject()
           
 String getSearchUrl()
           
 String getSummaryIconFilename()
           
 String getUrlName()
           
 boolean isDifferentFromPrevious(Data data, String key)
           
 boolean isOnlyDifference()
           
 String trueFalseToYesNo(boolean value)
           
 
Methods inherited from class hudson.model.Actionable
addAction, doContextMenu, getAction, getAction, getActions, getActions, getDynamic
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildEnvironmentBuildAction

public BuildEnvironmentBuildAction(hudson.model.Run<?,?> build)
Constructor method.

Parameters:
build - build for which the action is constructed.
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getSummaryIconFilename

public String getSummaryIconFilename()

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getSearchUrl

public String getSearchUrl()
Specified by:
getSearchUrl in interface hudson.search.SearchItem

getDataHoldersList

public List<Data> getDataHoldersList()

trueFalseToYesNo

public String trueFalseToYesNo(boolean value)

getBuildsWithAction

public List<hudson.model.AbstractBuild<?,?>> getBuildsWithAction()

getBuilds

public hudson.util.RunList<?> getBuilds()

getBuild

public hudson.model.AbstractBuild<?,?> getBuild()

getProject

public hudson.model.Job<?,?> getProject()

getAbstractProject

public hudson.model.AbstractProject<?,?> getAbstractProject()

doConfigSubmit

public void doConfigSubmit(org.kohsuke.stapler.StaplerRequest req,
                           org.kohsuke.stapler.StaplerResponse rsp)
                    throws IOException,
                           javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

isOnlyDifference

public boolean isOnlyDifference()

getBuild1

public hudson.model.AbstractBuild<?,?> getBuild1()

getBuild2

public hudson.model.AbstractBuild<?,?> getBuild2()

getBackgroundColor

public String getBackgroundColor(boolean change)

getDifferentCount

public int getDifferentCount(Data data)

isDifferentFromPrevious

public boolean isDifferentFromPrevious(Data data,
                                       String key)

getDifference

public List<DataDifferenceObject> getDifference()


Copyright © 2004-2013. All Rights Reserved.