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 CommandOutputContentstatic CommandOutputContentstatic CommandOutputContentrunOnNodeAndCache(WeakHashMap<Node, String> cache, Node node, String name, String... command) static CommandOutputContentrunOnNodeAndCache(WeakHashMap<Node, String> cache, Node node, String name, String[] filterableParameters, String... command) Methods inherited from class com.cloudbees.jenkins.support.api.StringContent
writeTo, writeToMethods inherited from class com.cloudbees.jenkins.support.filter.PrefilteredContent
shouldBeFilteredMethods 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)
-