public class CreateOrphanBranchCommand
extends org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.lib.Ref>
| コンストラクタと説明 |
|---|
CreateOrphanBranchCommand(org.eclipse.jgit.lib.Repository repository) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
org.eclipse.jgit.lib.Ref |
call() |
protected void |
checkout(org.eclipse.jgit.lib.ObjectId fromId) |
protected void |
checkout(org.eclipse.jgit.revwalk.RevTree headTree,
org.eclipse.jgit.revwalk.RevTree fromTree) |
protected void |
checkoutStartPoint() |
protected java.lang.String |
getBranchName() |
java.util.List<java.lang.String> |
getConflicts() |
protected org.eclipse.jgit.lib.ObjectId |
getStartPoint() |
java.util.List<java.lang.String> |
getToBeDeleted() |
protected void |
processOptions() |
CreateOrphanBranchCommand |
setName(java.lang.String name) |
CreateOrphanBranchCommand |
setStartPoint(org.eclipse.jgit.revwalk.RevCommit startPoint) |
CreateOrphanBranchCommand |
setStartPoint(java.lang.String startPoint) |
public CreateOrphanBranchCommand(@Nonnull
org.eclipse.jgit.lib.Repository repository)
public CreateOrphanBranchCommand setName(@Nonnull java.lang.String name)
public CreateOrphanBranchCommand setStartPoint(java.lang.String startPoint)
public CreateOrphanBranchCommand setStartPoint(org.eclipse.jgit.revwalk.RevCommit startPoint)
public org.eclipse.jgit.lib.Ref call()
throws org.eclipse.jgit.api.errors.GitAPIException,
org.eclipse.jgit.api.errors.RefNotFoundException,
org.eclipse.jgit.api.errors.CheckoutConflictException,
org.eclipse.jgit.api.errors.InvalidRefNameException,
org.eclipse.jgit.api.errors.RefAlreadyExistsException
call インタフェース内 java.util.concurrent.Callable<org.eclipse.jgit.lib.Ref>call クラス内 org.eclipse.jgit.api.GitCommand<org.eclipse.jgit.lib.Ref>org.eclipse.jgit.api.errors.GitAPIExceptionorg.eclipse.jgit.api.errors.RefNotFoundExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionorg.eclipse.jgit.api.errors.InvalidRefNameExceptionorg.eclipse.jgit.api.errors.RefAlreadyExistsExceptionprotected void processOptions()
throws org.eclipse.jgit.api.errors.InvalidRefNameException,
org.eclipse.jgit.api.errors.RefAlreadyExistsException,
java.io.IOException
org.eclipse.jgit.api.errors.InvalidRefNameExceptionorg.eclipse.jgit.api.errors.RefAlreadyExistsExceptionjava.io.IOExceptionprotected java.lang.String getBranchName()
protected void checkoutStartPoint()
throws org.eclipse.jgit.api.errors.GitAPIException,
org.eclipse.jgit.api.errors.RefNotFoundException,
org.eclipse.jgit.api.errors.CheckoutConflictException,
java.io.IOException
org.eclipse.jgit.api.errors.GitAPIExceptionorg.eclipse.jgit.api.errors.RefNotFoundExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionjava.io.IOExceptionprotected org.eclipse.jgit.lib.ObjectId getStartPoint()
throws org.eclipse.jgit.api.errors.RefNotFoundException,
java.io.IOException
org.eclipse.jgit.api.errors.RefNotFoundExceptionjava.io.IOExceptionprotected void checkout(org.eclipse.jgit.lib.ObjectId fromId)
throws org.eclipse.jgit.api.errors.GitAPIException,
org.eclipse.jgit.api.errors.CheckoutConflictException,
java.io.IOException
org.eclipse.jgit.api.errors.GitAPIExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionjava.io.IOExceptionprotected void checkout(org.eclipse.jgit.revwalk.RevTree headTree,
org.eclipse.jgit.revwalk.RevTree fromTree)
throws org.eclipse.jgit.api.errors.GitAPIException,
org.eclipse.jgit.api.errors.CheckoutConflictException,
java.io.IOException
org.eclipse.jgit.api.errors.GitAPIExceptionorg.eclipse.jgit.api.errors.CheckoutConflictExceptionjava.io.IOExceptionpublic java.util.List<java.lang.String> getConflicts()
public java.util.List<java.lang.String> getToBeDeleted()