| Modifier and Type | Field and Description |
|---|---|
| private ProgressMonitor | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | SubmoduleAddCommand(Repository
a repo)org. object.Constructor for SubmoduleAddCommand. |
| Modifier and Type | Method and Description |
|---|---|
| public Repository | call()
Implements abstract org. Implements java. Computes a result, or throws an exception if unable to do so. |
| public SubmoduleAddCommand | |
| public SubmoduleAddCommand | |
| public SubmoduleAddCommand | Returns: this commanda monitor)org. object.The progress monitor associated with the clone operation. |
| public SubmoduleAddCommand | |
| protected boolean | Returns: true if submodule exists in index, false otherwiseIs the configured already a submodule in the index? |
| monitor | back to summary |
|---|---|
| private ProgressMonitor monitor | |
| name | back to summary |
|---|---|
| private String name | |
| path | back to summary |
|---|---|
| private String path | |
| uri | back to summary |
|---|---|
| private String uri | |
| SubmoduleAddCommand | back to summary |
|---|---|
| public SubmoduleAddCommand(Repository repo) Constructor for SubmoduleAddCommand.
| |
| call | back to summary |
|---|---|
| public Repository call() throws GitAPIException Implements abstract org. Implements java. Doc from org. Computes a result, or throws an exception if unable to do so. Execute the command
Executes the
| |
| setName | back to summary |
|---|---|
| public SubmoduleAddCommand setName(String name) Set the submodule name
| |
| setPath | back to summary |
|---|---|
| public SubmoduleAddCommand setPath(String path) Set repository-relative path of submodule
| |
| setProgressMonitor | back to summary |
|---|---|
| public SubmoduleAddCommand setProgressMonitor(ProgressMonitor monitor) The progress monitor associated with the clone operation. By default,
this is set to
| |
| setURI | back to summary |
|---|---|
| public SubmoduleAddCommand setURI(String uri) Set URI to clone submodule from
| |
| submoduleExists | back to summary |
|---|---|
| protected boolean submoduleExists() throws IOException Is the configured already a submodule in the index?
| |