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.UserIdCause
with 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 int
getRebuildBuildId()
identify the build id of the project related to rebuildString
getShortDescription()
String
getUrlRebuildBuildId()
url of the build idint
hashCode()
String
toString()
-
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:
getShortDescription
in 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:
hashCode
in classCause.UserIdCause
-
-