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
-
public class CommandOutputContent extends StringContent
Content of a command output. You can only instantiate this content with a builder method which launch the command immediately.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandOutputContent
runOnNode(Node node, String name, String... command)
static CommandOutputContent
runOnNode(Node node, String name, String[] filterableParameters, String... command)
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 Detail
-
runOnNode
public static CommandOutputContent runOnNode(Node node, String name, String... command)
-
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)
-
-