For example: "oid oid name\0cap1 cap cap3"
Not to be confused with FirstWant, nor with the first line
of the reference advertisement parsed by
BasePackConnection.readAdvertisedRefs.
This class parses the inputted command line and holds the results: the actual command line and the capabilities.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FirstCommand | |
| public Map | |
| public String |
| capabilities | back to summary |
|---|---|
| private final Map<String, String> capabilities | |
| line | back to summary |
|---|---|
| private final String line | |
| FirstCommand | back to summary |
|---|---|
| private FirstCommand(String line, Map<String, String> capabilities) | |
| fromLine | back to summary |
|---|---|
| public static FirstCommand fromLine(String line) Parse the first line of a receive-pack request.
| |
| getCapabilities | back to summary |
|---|---|
| public Map Get capabilities | |
| getLine | back to summary |
|---|---|
| public String getLine() Get line | |