public class RiverWriter extends Object implements Closeable
ObjectOutputStream
compatible object graph serializer
that handles stateful objects for proper rehydration later.RiverMarshallerFactory
,
RiverReader
Constructor and Description |
---|
RiverWriter(File f,
org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner _owner) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ObjectOutput |
getObjectOutput()
For writing various typed objects and primitives.
|
void |
writeObject(Object o) |
public RiverWriter(File f, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner _owner) throws IOException
IOException
public void writeObject(Object o) throws IOException
IOException
public ObjectOutput getObjectOutput()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2016–2017. All rights reserved.