hudson.plugins.git
Class RevisionParameterAction

java.lang.Object
  extended by hudson.model.InvisibleAction
      extended by hudson.plugins.git.RevisionParameterAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, Serializable

public class RevisionParameterAction
extends hudson.model.InvisibleAction
implements Serializable

Used as a build parameter to specify the revision to be built.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
 String commit
          SHA1, ref name, etc.
 
Constructor Summary
RevisionParameterAction(String commit)
           
 
Method Summary
 Revision toRevision(IGitAPI git)
           
 String toString()
           
 
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

commit

public final String commit
SHA1, ref name, etc. that can be "git rev-parse"d into a specific commit.

Constructor Detail

RevisionParameterAction

public RevisionParameterAction(String commit)
Method Detail

toRevision

public Revision toRevision(IGitAPI git)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.