public class SimpleXStreamFlowNodeStorage extends FlowNodeStorage
FlowNodeStorage
that stores one node per one file.Modifier and Type | Field and Description |
---|---|
static hudson.util.XStream2 |
XSTREAM |
Constructor and Description |
---|
SimpleXStreamFlowNodeStorage(org.jenkinsci.plugins.workflow.flow.FlowExecution exec,
File dir) |
Modifier and Type | Method and Description |
---|---|
org.jenkinsci.plugins.workflow.graph.FlowNode |
getNode(String id) |
List<hudson.model.Action> |
loadActions(org.jenkinsci.plugins.workflow.graph.FlowNode node) |
void |
saveActions(org.jenkinsci.plugins.workflow.graph.FlowNode node,
List<hudson.model.Action> actions)
Just stores this one node
|
void |
storeNode(org.jenkinsci.plugins.workflow.graph.FlowNode n) |
public SimpleXStreamFlowNodeStorage(org.jenkinsci.plugins.workflow.flow.FlowExecution exec, File dir)
public org.jenkinsci.plugins.workflow.graph.FlowNode getNode(String id) throws IOException
getNode
in class FlowNodeStorage
IOException
public void storeNode(org.jenkinsci.plugins.workflow.graph.FlowNode n) throws IOException
storeNode
in class FlowNodeStorage
IOException
public List<hudson.model.Action> loadActions(org.jenkinsci.plugins.workflow.graph.FlowNode node) throws IOException
IOException
public void saveActions(org.jenkinsci.plugins.workflow.graph.FlowNode node, List<hudson.model.Action> actions) throws IOException
IOException
Copyright © 2016–2017. All rights reserved.