public class SCMRevisionAction
extends hudson.model.InvisibleAction
Action added to AbstractBuild to remember
which revision is built in the given build.| Constructor and Description |
|---|
SCMRevisionAction(SCMRevision rev)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SCMRevision |
getRevision()
Gets the
SCMRevision. |
static SCMRevision |
getRevision(hudson.model.Actionable actionable)
Gets the
SCMRevision from the specified Actionable. |
public SCMRevisionAction(@NonNull
SCMRevision rev)
rev - the SCMRevision.@NonNull public SCMRevision getRevision()
SCMRevision.SCMRevision.@CheckForNull public static SCMRevision getRevision(@NonNull hudson.model.Actionable actionable)
SCMRevision from the specified Actionable.SCMRevision.Copyright © 2004-2013. All Rights Reserved.