public class RTEGitRebaseCommandImpl extends Object implements RTEGitRebaseCommand
RTEGitRebaseCommand.RebaseCompletionCallback| Constructor and Description |
|---|
RTEGitRebaseCommandImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.IStatus |
call() |
RTEGitRebaseCommand |
setAutoImport(boolean autoImport)
Perform auto-import of affected project during rebase.
|
RTEGitRebaseCommand |
setClosureFilter(IClosureFilter filter)
Defines filter for closure operation.
|
RTEGitRebaseCommand |
setClosureFilter(String filter)
Defines filter for closure operation.
|
RTEGitRebaseCommand |
setCompletionCallback(RTEGitRebaseCommand.RebaseCompletionCallback callback)
Set callback which will be notified when merge operation is completed.
|
RTEGitRebaseCommand |
setInteractive(boolean interactive)
Set interactive mode for the rebase
|
RTEGitRebaseCommand |
setMergeType(MergeType type)
Set merge type for rebase command.
|
RTEGitRebaseCommand |
setOperation(org.eclipse.jgit.api.RebaseCommand.Operation operation)
Set current rebase operation.
|
RTEGitRebaseCommand |
setPartialMode(boolean partialMode)
Enables/disables partial mode.
|
RTEGitRebaseCommand |
setPreserveMerges(boolean preserve)
True to re-create merges during rebase.
|
RTEGitRebaseCommand |
setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
Set progress monitor for operation.
|
RTEGitRebaseCommand |
setRepository(File repository)
Set path to existing Git repository
|
RTEGitRebaseCommand |
setUpstream(String ref)
Set upstream branch
|
String |
toString() |
public org.eclipse.core.runtime.IStatus call()
call in interface RTAbstractCommandpublic RTEGitRebaseCommand setRepository(File repository)
RTEGitRebaseCommandsetRepository in interface RTEGitRebaseCommandrepository - - path to Git repository. Path may or may not include '.git' folder. Paths '/dir1/dir2/dir3' and '/dir1/dir2/dir3/.git' are considered the samepublic RTEGitRebaseCommand setUpstream(String ref)
RTEGitRebaseCommandsetUpstream in interface RTEGitRebaseCommandref - - branch name, reference or commit idpublic RTEGitRebaseCommand setMergeType(MergeType type)
RTEGitRebaseCommandsetMergeType in interface RTEGitRebaseCommandtype - - MergeTypepublic RTEGitRebaseCommand setAutoImport(boolean autoImport)
RTEGitRebaseCommandsetAutoImport in interface RTEGitRebaseCommandpublic RTEGitRebaseCommand setOperation(org.eclipse.jgit.api.RebaseCommand.Operation operation)
RTEGitRebaseCommandsetOperation in interface RTEGitRebaseCommandoperation - - RebaseCommand.Operationpublic RTEGitRebaseCommand setClosureFilter(String filter)
RTEGitRebaseCommandsetClosureFilter in interface RTEGitRebaseCommandfilter - - comma-separated list of paths. Each path may include '*' or '?' symbolspublic RTEGitRebaseCommand setClosureFilter(IClosureFilter filter)
RTEGitRebaseCommandsetClosureFilter in interface RTEGitRebaseCommandfilter - - an object implementing IClosureFilter interfacepublic RTEGitRebaseCommand setInteractive(boolean interactive)
RTEGitRebaseCommandsetInteractive in interface RTEGitRebaseCommandpublic RTEGitRebaseCommand setPartialMode(boolean partialMode)
RTEGitRebaseCommandPartial mode allows to save partially merged models and mark as conflicting only really conflicting files.
Default value: disabledsetPartialMode in interface RTEGitRebaseCommandpublic RTEGitRebaseCommand setPreserveMerges(boolean preserve)
RTEGitRebaseCommandsetPreserveMerges in interface RTEGitRebaseCommandpublic RTEGitRebaseCommand setCompletionCallback(RTEGitRebaseCommand.RebaseCompletionCallback callback)
RTEGitRebaseCommandsetCompletionCallback in interface RTEGitRebaseCommandcallback - - RTEGitRebaseCommand.RebaseCompletionCallbackpublic RTEGitRebaseCommand setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
RTEGitRebaseCommandsetProgressMonitor in interface RTEGitRebaseCommandmonitor - - IProgressMonitor