Class RebuildCause
- java.lang.Object
-
- hudson.model.Cause
-
- hudson.model.Cause.UserIdCause
-
- hudson.plugins.project_inheritance.projects.rebuild.RebuildCause
-
public class RebuildCause extends Cause.UserIdCause
Wrapper aroundCause.UserIdCausewith some additional parameters
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Cause
Cause.LegacyCodeCause, Cause.RemoteCause, Cause.UpstreamCause, Cause.UserCause, Cause.UserIdCause
-
-
Constructor Summary
Constructors Constructor Description RebuildCause(int rebuildBuildId, String urlRebuildBuildId)Creates a new RebuildCause object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRebuildBuildId()identify the build id of the project related to rebuildStringgetShortDescription()StringgetUrlRebuildBuildId()url of the build idinthashCode()StringtoString()-
Methods inherited from class hudson.model.Cause.UserIdCause
equals, getUserId, getUserName, getUserUrl, print
-
-
-
-
Constructor Detail
-
RebuildCause
public RebuildCause(int rebuildBuildId, String urlRebuildBuildId)Creates a new RebuildCause object.- Parameters:
rebuildBuildId- identify the build id of the project related to rebuildurlRebuildBuildId- url of the build id url
-
-
Method Detail
-
getShortDescription
public String getShortDescription()
- Overrides:
getShortDescriptionin classCause.UserIdCause
-
getUrlRebuildBuildId
public String getUrlRebuildBuildId()
url of the build id- Returns:
- url of the build id
-
getRebuildBuildId
public int getRebuildBuildId()
identify the build id of the project related to rebuild- Returns:
- identify the build id of the project related to rebuild
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCause.UserIdCause
-
-