net.praqma.jenkins.configrotator.scm.git
Class GitConfigurationComponent

java.lang.Object
  extended by net.praqma.jenkins.configrotator.AbstractConfigurationComponent
      extended by net.praqma.jenkins.configrotator.scm.git.GitConfigurationComponent
All Implemented Interfaces:
Serializable, Feedable

public class GitConfigurationComponent
extends AbstractConfigurationComponent

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.praqma.jenkins.configrotator.AbstractConfigurationComponent
AbstractConfigurationComponent.Element
 
Field Summary
 
Fields inherited from class net.praqma.jenkins.configrotator.AbstractConfigurationComponent
changedLast, fixed
 
Constructor Summary
GitConfigurationComponent(String name, String repository, String branch, org.eclipse.jgit.revwalk.RevCommit commit, boolean fixed)
           
 
Method Summary
 void checkout(hudson.FilePath workspace, hudson.model.TaskListener listener)
           
protected  Object clone()
           
 boolean equals(Object other)
           
 String getBranch()
           
 org.eclipse.jgit.revwalk.RevCommit getCommit()
           
 String getCommitId()
           
 String getComponentName()
           
 String getFeedId()
           
 String getFeedName()
           
 String getName()
           
 String getRepository()
           
 String prettyPrint()
           
 void setCommitId(String commitId)
           
 String toHtml()
           
 String toString()
           
 
Methods inherited from class net.praqma.jenkins.configrotator.AbstractConfigurationComponent
getBasicHtml, getFeed, getFeedEntry, getFeedFile, isChangedLast, isFixed, setChangedLast
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitConfigurationComponent

public GitConfigurationComponent(String name,
                                 String repository,
                                 String branch,
                                 org.eclipse.jgit.revwalk.RevCommit commit,
                                 boolean fixed)
Method Detail

checkout

public void checkout(hudson.FilePath workspace,
                     hudson.model.TaskListener listener)
              throws IOException,
                     InterruptedException
Throws:
IOException
InterruptedException

getBranch

public String getBranch()

getRepository

public String getRepository()

getName

public String getName()

getCommit

public org.eclipse.jgit.revwalk.RevCommit getCommit()

setCommitId

public void setCommitId(String commitId)

getCommitId

public String getCommitId()

getComponentName

public String getComponentName()
Specified by:
getComponentName in class AbstractConfigurationComponent

clone

protected Object clone()
Overrides:
clone in class Object

getFeedId

public String getFeedId()

getFeedName

public String getFeedName()

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

prettyPrint

public String prettyPrint()
Specified by:
prettyPrint in class AbstractConfigurationComponent

toHtml

public String toHtml()


Copyright © 2004-2013. All Rights Reserved.