public class PathsList extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
static PathsList | 
EMPTY  | 
String | 
homeDir  | 
List<String> | 
paths  | 
String | 
pathSeparator  | 
String | 
separator  | 
| Constructor and Description | 
|---|
PathsList()
Empty constructor. 
 | 
PathsList(Collection<String> paths,
         String homeDir)
Constructor. 
 | 
PathsList(Collection<String> paths,
         String pathSeparator,
         String separator,
         String homeDir)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(PathsList pathsList)
Adds PathsList and overrides null variables. 
 | 
boolean | 
add(String path)  | 
String | 
getHomeDir()  | 
String | 
toListString()
Gets the list of installed tools. 
 | 
@CheckForNull public String homeDir
@CheckForNull public String pathSeparator
@CheckForNull public String separator
public static final PathsList EMPTY
public PathsList(@Nonnull Collection<String> paths, @CheckForNull String homeDir)
paths - List of paths to be returnedhomeDir - Home directory of the toolpublic PathsList()
public PathsList(@Nonnull Collection<String> paths, @CheckForNull String pathSeparator, @CheckForNull String separator, @CheckForNull String homeDir)
@CheckForNull public String getHomeDir()
public boolean add(@Nonnull PathsList pathsList)
pathsList - PathsList to be added@CheckForNull public String toListString()
Copyright © 2016–2021. All rights reserved.