Class CommandOutputContent
java.lang.Object
com.cloudbees.jenkins.support.api.Content
com.cloudbees.jenkins.support.filter.PrefilteredContent
com.cloudbees.jenkins.support.api.StringContent
com.cloudbees.jenkins.support.api.CommandOutputContent
Content of a command output. You can only instantiate this content with
a builder method which launch the command immediately.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CommandOutputContent
static CommandOutputContent
static CommandOutputContent
runOnNodeAndCache
(WeakHashMap<Node, String> cache, Node node, String name, String... command) static CommandOutputContent
runOnNodeAndCache
(WeakHashMap<Node, String> cache, Node node, String name, String[] filterableParameters, String... command) Methods inherited from class com.cloudbees.jenkins.support.api.StringContent
writeTo, writeTo
Methods inherited from class com.cloudbees.jenkins.support.filter.PrefilteredContent
shouldBeFiltered
Methods inherited from class com.cloudbees.jenkins.support.api.Content
getFilterableParameters, getName, getTime
-
Method Details
-
runOnNode
-
runOnNode
public static CommandOutputContent runOnNode(Node node, String name, String[] filterableParameters, String... command) -
runOnNodeAndCache
public static CommandOutputContent runOnNodeAndCache(WeakHashMap<Node, String> cache, Node node, String name, String... command) -
runOnNodeAndCache
public static CommandOutputContent runOnNodeAndCache(WeakHashMap<Node, String> cache, Node node, String name, String[] filterableParameters, String... command)
-