Provides some utility methods that are repeatedly used by ExecutionProfilesLoader and other classes.
Constructor and description |
---|
LookOverExecutionProfilesKeyword
() |
LookOverExecutionProfilesKeyword
(java.nio.file.Path profilesDir) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<GlobalVariableInProfile> |
listAllGVIP() Make the list of GlobalVariableWithProfile objects of of all GlobalVariables contained in all Profiles The returned List is used as the base of "lookupGlobalVariable" methods. |
|
java.util.List<java.lang.String> |
listAllGlobalVariables() |
|
java.util.List<java.nio.file.Path> |
listAllProfilePaths() |
|
java.util.List<java.lang.String> |
listAllProfiles() list all Profiles in the Profiles directory, returns a list of Path objects of "*.glbl" files |
|
java.util.List<GlobalVariableInProfile> |
listGVIP(java.lang.String globalVariableNamePattern, java.lang.String profileNamePattern) |
|
java.util.List<java.lang.String> |
listGlobalVariables(java.lang.String globalVariableNamePattern) |
|
java.util.List<java.lang.String> |
listGlobalVariablesInProfiles(java.lang.String globalVariableNamePattern, java.lang.String profileNamePattern) |
|
java.util.List<java.nio.file.Path> |
listProfilePaths(java.lang.String profileNamePattern) scan the Profiles directory and find files of which name matches the pattern '<pattern&g;tXXXX.glbl' |
|
java.util.List<java.lang.String> |
listProfiles(java.lang.String profileNamePattern) list Profiles of which name matches with the pattern |
|
static java.lang.String |
toProfileName(java.nio.file.Path profilePath) For example, given with a Path of ". |
|
static java.util.List<java.lang.String> |
toString(java.util.List<GlobalVariableInProfile> gvipList) convert a List |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Make the list of GlobalVariableWithProfile objects of of all GlobalVariables contained in all Profiles The returned List is used as the base of "lookupGlobalVariable" methods.
list all Profiles in the Profiles directory, returns a list of Path objects of "*.glbl" files
scan the Profiles directory and find files of which name matches the pattern '<pattern&g;tXXXX.glbl' The pattern is interpreted as a Regular Expression.
list Profiles of which name matches with the pattern
pattern
- as Regular ExpressionFor example, given with a Path of "./Profiles/test_A.glbl", then returns a String of "test_A"
convert a List