public final class GateDeploymentDescriptor extends Object implements IOReadableWritable
| Constructor and Description |
|---|
GateDeploymentDescriptor()
Default constructor for serialization/deserialization.
|
GateDeploymentDescriptor(List<ChannelDeploymentDescriptor> channels)
Constructs a new gate deployment descriptor
|
| Modifier and Type | Method and Description |
|---|---|
static GateDeploymentDescriptor |
fromEdges(ExecutionEdge[] edges) |
static GateDeploymentDescriptor |
fromEdges(List<ExecutionEdge> edges) |
List<ChannelDeploymentDescriptor> |
getChannels() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public GateDeploymentDescriptor(List<ChannelDeploymentDescriptor> channels)
channels - the list of channel deployment descriptors attached to this gatepublic GateDeploymentDescriptor()
public List<ChannelDeploymentDescriptor> getChannels()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionpublic static GateDeploymentDescriptor fromEdges(List<ExecutionEdge> edges)
public static GateDeploymentDescriptor fromEdges(ExecutionEdge[] edges)
Copyright © 2015 The Apache Software Foundation. All rights reserved.