public class NavigateHelper extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class |
NavigateHelper.Node |
Constructor and Description |
---|
NavigateHelper(int max) |
NavigateHelper(com.perforce.p4java.server.IOptionsServer p4) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
hudson.model.AutoCompletionCandidates |
getCandidates(String depotPath)
Matches for a partial depot path
|
List<NavigateHelper.Node> |
getNodes(String localPath)
Get a list of path nodes.
|
public NavigateHelper(com.perforce.p4java.server.IOptionsServer p4)
public NavigateHelper(int max)
public hudson.model.AutoCompletionCandidates getCandidates(String depotPath)
depotPath
- a Perforce Depot path e.g. //depot/propublic List<NavigateHelper.Node> getNodes(String localPath)
localPath
- a relative local path e.g. "" for root or "projA/comX"public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2016–2021. All rights reserved.