|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.jenkins.plugins.bfa.model.FailureCauseBuildAction
@ExportedBean public class FailureCauseBuildAction
The action to show the FailureCause
to the user..
Field Summary | |
---|---|
static String |
URL_NAME
The url of this action. |
Constructor Summary | |
---|---|
FailureCauseBuildAction(List<FoundFailureCause> foundFailureCauses)
Standard constructor. |
Method Summary | |
---|---|
void |
doIndex(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
Used for the link to the failure cause management page. |
String |
getBadgeImageUrl()
Gets the image url for the badge page. |
hudson.model.AbstractBuild |
getBuild()
Getter for the build. |
String |
getDisplayName()
|
FoundFailureCause |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse resp)
Used when we are directed to a FoundFailureCause beneath the build action. |
FailureCauseDisplayData |
getFailureCauseDisplayData()
Getter for the FailureCauseDisplayData. |
List<FoundFailureCause> |
getFoundFailureCauses()
Getter for the FoundFailureCauses. |
String |
getIconFileName()
|
String |
getImageUrl()
Gets the image url for the summary page. |
PluginImpl |
getPluginImpl()
Convenience method for jelly access to PluginImpl. |
String |
getUrlName()
|
Object |
readResolve()
Called after deserialization. |
void |
setBuild(hudson.model.AbstractBuild build)
Setter for the build triggering this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String URL_NAME
Constructor Detail |
---|
public FailureCauseBuildAction(List<FoundFailureCause> foundFailureCauses)
foundFailureCauses
- the FoundFailureCauses.Method Detail |
---|
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
@Exported public List<FoundFailureCause> getFoundFailureCauses()
public String getImageUrl()
public String getBadgeImageUrl()
public PluginImpl getPluginImpl()
public Object readResolve()
failureCauses
if existing.
public FoundFailureCause getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
token
- the FoundFailureCause number of this build action we are trying to navigate to.req
- the stapler request.resp
- the stapler response.
public void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp) throws IOException
req
- the stapler request.resp
- the stapler response
IOException
- if so.public void setBuild(hudson.model.AbstractBuild build)
build
- - the build corresponding to this actionpublic hudson.model.AbstractBuild getBuild()
@Exported public FailureCauseDisplayData getFailureCauseDisplayData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |