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 RTAbstractCommand
public RTEGitRebaseCommand setRepository(File repository)
RTEGitRebaseCommand
setRepository
in interface RTEGitRebaseCommand
repository
- - 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)
RTEGitRebaseCommand
setUpstream
in interface RTEGitRebaseCommand
ref
- - branch name, reference or commit idpublic RTEGitRebaseCommand setMergeType(MergeType type)
RTEGitRebaseCommand
setMergeType
in interface RTEGitRebaseCommand
type
- - MergeType
public RTEGitRebaseCommand setAutoImport(boolean autoImport)
RTEGitRebaseCommand
setAutoImport
in interface RTEGitRebaseCommand
public RTEGitRebaseCommand setOperation(org.eclipse.jgit.api.RebaseCommand.Operation operation)
RTEGitRebaseCommand
setOperation
in interface RTEGitRebaseCommand
operation
- - RebaseCommand.Operation
public RTEGitRebaseCommand setClosureFilter(String filter)
RTEGitRebaseCommand
setClosureFilter
in interface RTEGitRebaseCommand
filter
- - comma-separated list of paths. Each path may include '*' or '?' symbolspublic RTEGitRebaseCommand setClosureFilter(IClosureFilter filter)
RTEGitRebaseCommand
setClosureFilter
in interface RTEGitRebaseCommand
filter
- - an object implementing IClosureFilter
interfacepublic RTEGitRebaseCommand setInteractive(boolean interactive)
RTEGitRebaseCommand
setInteractive
in interface RTEGitRebaseCommand
public RTEGitRebaseCommand setPartialMode(boolean partialMode)
RTEGitRebaseCommand
Partial mode allows to save partially merged models and mark as conflicting only really conflicting files.
Default value: disabledsetPartialMode
in interface RTEGitRebaseCommand
public RTEGitRebaseCommand setPreserveMerges(boolean preserve)
RTEGitRebaseCommand
setPreserveMerges
in interface RTEGitRebaseCommand
public RTEGitRebaseCommand setCompletionCallback(RTEGitRebaseCommand.RebaseCompletionCallback callback)
RTEGitRebaseCommand
setCompletionCallback
in interface RTEGitRebaseCommand
callback
- - RTEGitRebaseCommand.RebaseCompletionCallback
public RTEGitRebaseCommand setProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)
RTEGitRebaseCommand
setProgressMonitor
in interface RTEGitRebaseCommand
monitor
- - IProgressMonitor