| Modifier and Type | Class and Description |
|---|---|
| public static interface | ManifestParser.
A callback to read included xml files. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final URI | |
| private RepoProject | |
| private final String | |
| private String | |
| private String | |
| private final String | |
| private final List | |
| private final ManifestParser. | |
| private final Set | |
| private final Set | |
| private final List | |
| private final Map | |
| private final Repository | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | ManifestParser(ManifestParser.
a filename, String java. object.a defaultBranch, String java. object.a baseUrl, String java. object.a groups, Repository java. object.a rootRepo)org. object.Constructor for ManifestParser |
| Modifier and Type | Method and Description |
|---|---|
| public void | endDocument()
Overrides org. Implements org. Receive notification of the end of the document. |
| public void | endElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName)Overrides org. Implements org. Receive notification of the end of an element. |
| public List | Returns: filtered projects list reference, never nullGetter for filterdProjects. |
| public List | |
| pack-priv boolean | |
| private boolean | |
| pack-priv static URI | |
| public void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. uri, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. localName, String The qualified name (with prefix), or the
empty string if qualified names are not available. qName, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. attributes)Overrides org. Implements org. Receive notification of the start of an element. |
| baseUrl | back to summary |
|---|---|
| private final URI baseUrl | |
| currentProject | back to summary |
|---|---|
| private RepoProject currentProject | |
| defaultBranch | back to summary |
|---|---|
| private final String defaultBranch | |
| defaultRemote | back to summary |
|---|---|
| private String defaultRemote | |
| defaultRevision | back to summary |
|---|---|
| private String defaultRevision | |
| filename | back to summary |
|---|---|
| private final String filename | |
| filteredProjects | back to summary |
|---|---|
| private final List<RepoProject> filteredProjects | |
| includedReader | back to summary |
|---|---|
| private final ManifestParser. | |
| minusGroups | back to summary |
|---|---|
| private final Set<String> minusGroups | |
| plusGroups | back to summary |
|---|---|
| private final Set<String> plusGroups | |
| projects | back to summary |
|---|---|
| private final List<RepoProject> projects | |
| remotes | back to summary |
|---|---|
| private final Map<String, ManifestParser. | |
| rootRepo | back to summary |
|---|---|
| private final Repository rootRepo | |
| xmlInRead | back to summary |
|---|---|
| private int xmlInRead | |
| ManifestParser | back to summary |
|---|---|
| public ManifestParser(ManifestParser. Constructor for ManifestParser
| |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the end of the document. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| getFilteredProjects | back to summary |
|---|---|
| public List Getter for filterdProjects.
| |
| getProjects | back to summary |
|---|---|
| public List Getter for projects.
| |
| inGroups | back to summary |
|---|---|
| pack-priv boolean inGroups(RepoProject proj) | |
| isNestedReferencefile | back to summary |
|---|---|
| private boolean isNestedReferencefile(RepoProject. | |
| normalizeEmptyPath | back to summary |
|---|---|
| pack-priv static URI normalizeEmptyPath(URI u) | |
| read | back to summary |
|---|---|
| public void read(InputStream inputStream) throws IOException Read the xml file.
| |
| removeNestedCopyAndLinkfiles | back to summary |
|---|---|
| private void removeNestedCopyAndLinkfiles() | |
| removeNotInGroup | back to summary |
|---|---|
| pack-priv void removeNotInGroup() Remove projects that are not in our desired groups. | |
| removeOverlaps | back to summary |
|---|---|
| pack-priv void removeOverlaps() Remove projects that sits in a subdirectory of any other project. | |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | Returns: theInputStream of the file.The relative path to the file to read path)Read a file from the same base dir of the manifest xml file. |
| readIncludeFile | back to summary |
|---|---|
| public InputStream readIncludeFile(String path) throws GitAPIException, IOException Read a file from the same base dir of the manifest xml file.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| fetch | back to summary |
|---|---|
| pack-priv final String fetch | |
| revision | back to summary |
|---|---|
| pack-priv final String revision | |
| Remote | back to summary |
|---|---|
| pack-priv Remote(String fetch, String revision) | |