public class Util
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Util.Library |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
addValues(java.lang.String[] options,
OptReplacement... optReplacements)
Replaces parts of the command line parameters with the values specified in optReplacements.
|
static java.lang.String[] |
buildArgs(java.lang.String[] cmd,
java.lang.String... base) |
static java.util.List<java.lang.String> |
getCurrentReleaseFilter() |
static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> |
getCurrentVersions(com.pslcl.dtf.core.generator.Generator G,
Util.Library[] libs,
java.lang.String... scripts) |
static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> |
getDependencies(com.pslcl.dtf.core.generator.Generator G,
Util.Library[] libs,
java.lang.String dependency) |
static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> |
getLegacyVersions(com.pslcl.dtf.core.generator.Generator G,
Util.Library[] libs,
java.lang.String... scripts) |
static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> |
getVersions(com.pslcl.dtf.core.generator.Generator G,
Util.Library[] libs,
java.lang.String... scripts) |
static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> |
getVersionsFiltered(com.pslcl.dtf.core.generator.Generator G,
Util.Library[] libs,
java.util.List<java.lang.String> Filter,
java.lang.String... scripts) |
static java.util.List<com.pslcl.dtf.core.generator.template.TestInstance.Action> |
prepMachine(com.pslcl.dtf.core.generator.resource.Machine machine,
com.pslcl.dtf.core.generator.resource.Attributes attributes,
com.pslcl.dtf.core.artifact.Artifact[] artifacts) |
static java.util.List<com.pslcl.dtf.core.generator.template.TestInstance.Action> |
prepMachine(com.pslcl.dtf.core.generator.resource.Machine machine,
com.pslcl.dtf.core.generator.resource.Attributes attributes,
com.pslcl.dtf.core.artifact.Artifact[] artifacts,
boolean setTargetPath) |
static void |
setTargetName(com.pslcl.dtf.core.artifact.Artifact artifact) |
public static java.util.List<java.lang.String> getCurrentReleaseFilter()
public static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> getVersions(com.pslcl.dtf.core.generator.Generator G, Util.Library[] libs, java.lang.String... scripts)
public static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> getVersionsFiltered(com.pslcl.dtf.core.generator.Generator G, Util.Library[] libs, java.util.List<java.lang.String> Filter, java.lang.String... scripts)
public static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> getCurrentVersions(com.pslcl.dtf.core.generator.Generator G, Util.Library[] libs, java.lang.String... scripts)
public static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> getLegacyVersions(com.pslcl.dtf.core.generator.Generator G, Util.Library[] libs, java.lang.String... scripts)
public static java.lang.Iterable<com.pslcl.dtf.core.artifact.Artifact[]> getDependencies(com.pslcl.dtf.core.generator.Generator G, Util.Library[] libs, java.lang.String dependency)
public static java.util.List<com.pslcl.dtf.core.generator.template.TestInstance.Action> prepMachine(com.pslcl.dtf.core.generator.resource.Machine machine, com.pslcl.dtf.core.generator.resource.Attributes attributes, com.pslcl.dtf.core.artifact.Artifact[] artifacts) throws java.lang.Exception
java.lang.Exception
public static java.util.List<com.pslcl.dtf.core.generator.template.TestInstance.Action> prepMachine(com.pslcl.dtf.core.generator.resource.Machine machine, com.pslcl.dtf.core.generator.resource.Attributes attributes, com.pslcl.dtf.core.artifact.Artifact[] artifacts, boolean setTargetPath) throws java.lang.Exception
java.lang.Exception
public static void setTargetName(com.pslcl.dtf.core.artifact.Artifact artifact)
public static java.lang.String[] buildArgs(java.lang.String[] cmd, java.lang.String... base)
public static java.lang.String[] addValues(java.lang.String[] options, OptReplacement... optReplacements)
options
- The command line options.optReplacements
- A set of OptReplacement objects