コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedFunnel" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedFunnel(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier      = identifier;
     this.Name            = name;
     this.Comments        = comments;
     this.Position        = position;
     this.ComponentType   = componentType;
     this.GroupIdentifier = groupIdentifier;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedPort" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="type">The type of port..</param>
 /// <param name="concurrentlySchedulableTaskCount">The number of tasks that should be concurrently scheduled for the port..</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedPort(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), TypeEnum?type = default(TypeEnum?), int?concurrentlySchedulableTaskCount = default(int?), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier = identifier;
     this.Name       = name;
     this.Comments   = comments;
     this.Position   = position;
     this.Type       = type;
     this.ConcurrentlySchedulableTaskCount = concurrentlySchedulableTaskCount;
     this.ComponentType   = componentType;
     this.GroupIdentifier = groupIdentifier;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedLabel" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="label">The text that appears in the label..</param>
 /// <param name="width">The width of the label in pixels when at a 1:1 scale..</param>
 /// <param name="height">The height of the label in pixels when at a 1:1 scale..</param>
 /// <param name="style">The styles for this label (font-size : 12px, background-color : #eee, etc)..</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedLabel(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), string label = default(string), double?width = default(double?), double?height = default(double?), Dictionary <string, string> style = default(Dictionary <string, string>), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier      = identifier;
     this.Name            = name;
     this.Comments        = comments;
     this.Position        = position;
     this.Label           = label;
     this.Width           = width;
     this.Height          = height;
     this.Style           = style;
     this.ComponentType   = componentType;
     this.GroupIdentifier = groupIdentifier;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedRemoteGroupPort" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="remoteGroupId">The id of the remote process group that the port resides in..</param>
 /// <param name="concurrentlySchedulableTaskCount">The number of task that may transmit flowfiles to the target port concurrently..</param>
 /// <param name="useCompression">Whether the flowfiles are compressed when sent to the target port..</param>
 /// <param name="batchSize">The batch settings for data transmission..</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="targetId">The ID of the port on the target NiFi instance.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedRemoteGroupPort(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), string remoteGroupId = default(string), int?concurrentlySchedulableTaskCount = default(int?), bool?useCompression = default(bool?), BatchSize batchSize = default(BatchSize), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string targetId = default(string), string groupIdentifier = default(string))
 {
     this.Identifier    = identifier;
     this.Name          = name;
     this.Comments      = comments;
     this.Position      = position;
     this.RemoteGroupId = remoteGroupId;
     this.ConcurrentlySchedulableTaskCount = concurrentlySchedulableTaskCount;
     this.UseCompression  = useCompression;
     this.BatchSize       = batchSize;
     this.ComponentType   = componentType;
     this.TargetId        = targetId;
     this.GroupIdentifier = groupIdentifier;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedControllerService" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="type">The type of the controller service..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="controllerServiceApis">Lists the APIs this Controller Service implements..</param>
 /// <param name="properties">The properties of the controller service..</param>
 /// <param name="propertyDescriptors">The property descriptors for the processor..</param>
 /// <param name="annotationData">The annotation for the controller service. This is how the custom UI relays configuration to the controller service..</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedControllerService(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), string type = default(string), Bundle bundle = default(Bundle), List <ControllerServiceAPI> controllerServiceApis = default(List <ControllerServiceAPI>), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, VersionedPropertyDescriptor> propertyDescriptors = default(Dictionary <string, VersionedPropertyDescriptor>), string annotationData = default(string), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier            = identifier;
     this.Name                  = name;
     this.Comments              = comments;
     this.Position              = position;
     this.Type                  = type;
     this.Bundle                = bundle;
     this.ControllerServiceApis = controllerServiceApis;
     this.Properties            = properties;
     this.PropertyDescriptors   = propertyDescriptors;
     this.AnnotationData        = annotationData;
     this.ComponentType         = componentType;
     this.GroupIdentifier       = groupIdentifier;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedRemoteProcessGroup" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="targetUri">[DEPRECATED] The target URI of the remote process group. If target uri is not set, but uris are set, then returns the first uri in the uris. If neither target uri nor uris are set, then returns null..</param>
 /// <param name="targetUris">The target URIs of the remote process group. If target uris is not set but target uri is set, then returns the single target uri. If neither target uris nor target uri is set, then returns null..</param>
 /// <param name="communicationsTimeout">The time period used for the timeout when communicating with the target..</param>
 /// <param name="yieldDuration">When yielding, this amount of time must elapse before the remote process group is scheduled again..</param>
 /// <param name="transportProtocol">The Transport Protocol that is used for Site-to-Site communications.</param>
 /// <param name="localNetworkInterface">The local network interface to send/receive data. If not specified, any local address is used. If clustered, all nodes must have an interface with this identifier..</param>
 /// <param name="proxyHost">proxyHost.</param>
 /// <param name="proxyPort">proxyPort.</param>
 /// <param name="proxyUser">proxyUser.</param>
 /// <param name="inputPorts">A Set of Input Ports that can be connected to, in order to send data to the remote NiFi instance.</param>
 /// <param name="outputPorts">A Set of Output Ports that can be connected to, in order to pull data from the remote NiFi instance.</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedRemoteProcessGroup(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), string targetUri = default(string), string targetUris = default(string), string communicationsTimeout = default(string), string yieldDuration = default(string), TransportProtocolEnum?transportProtocol = default(TransportProtocolEnum?), string localNetworkInterface = default(string), string proxyHost = default(string), int?proxyPort = default(int?), string proxyUser = default(string), List <VersionedRemoteGroupPort> inputPorts = default(List <VersionedRemoteGroupPort>), List <VersionedRemoteGroupPort> outputPorts = default(List <VersionedRemoteGroupPort>), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier            = identifier;
     this.Name                  = name;
     this.Comments              = comments;
     this.Position              = position;
     this.TargetUri             = targetUri;
     this.TargetUris            = targetUris;
     this.CommunicationsTimeout = communicationsTimeout;
     this.YieldDuration         = yieldDuration;
     this.TransportProtocol     = transportProtocol;
     this.LocalNetworkInterface = localNetworkInterface;
     this.ProxyHost             = proxyHost;
     this.ProxyPort             = proxyPort;
     this.ProxyUser             = proxyUser;
     this.InputPorts            = inputPorts;
     this.OutputPorts           = outputPorts;
     this.ComponentType         = componentType;
     this.GroupIdentifier       = groupIdentifier;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedProcessGroup" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="processGroups">The child Process Groups.</param>
 /// <param name="remoteProcessGroups">The Remote Process Groups.</param>
 /// <param name="processors">The Processors.</param>
 /// <param name="inputPorts">The Input Ports.</param>
 /// <param name="outputPorts">The Output Ports.</param>
 /// <param name="connections">The Connections.</param>
 /// <param name="labels">The Labels.</param>
 /// <param name="funnels">The Funnels.</param>
 /// <param name="controllerServices">The Controller Services.</param>
 /// <param name="versionedFlowCoordinates">The coordinates where the remote flow is stored, or null if the Process Group is not directly under Version Control.</param>
 /// <param name="variables">The Variables in the Variable Registry for this Process Group (not including any ancestor or descendant Process Groups).</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedProcessGroup(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), List <VersionedProcessGroup> processGroups = default(List <VersionedProcessGroup>), List <VersionedRemoteProcessGroup> remoteProcessGroups = default(List <VersionedRemoteProcessGroup>), List <VersionedProcessor> processors = default(List <VersionedProcessor>), List <VersionedPort> inputPorts = default(List <VersionedPort>), List <VersionedPort> outputPorts = default(List <VersionedPort>), List <VersionedConnection> connections = default(List <VersionedConnection>), List <VersionedLabel> labels = default(List <VersionedLabel>), List <VersionedFunnel> funnels = default(List <VersionedFunnel>), List <VersionedControllerService> controllerServices = default(List <VersionedControllerService>), VersionedFlowCoordinates versionedFlowCoordinates = default(VersionedFlowCoordinates), Dictionary <string, string> variables = default(Dictionary <string, string>), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier               = identifier;
     this.Name                     = name;
     this.Comments                 = comments;
     this.Position                 = position;
     this.ProcessGroups            = processGroups;
     this.RemoteProcessGroups      = remoteProcessGroups;
     this.Processors               = processors;
     this.InputPorts               = inputPorts;
     this.OutputPorts              = outputPorts;
     this.Connections              = connections;
     this.Labels                   = labels;
     this.Funnels                  = funnels;
     this.ControllerServices       = controllerServices;
     this.VersionedFlowCoordinates = versionedFlowCoordinates;
     this.Variables                = variables;
     this.ComponentType            = componentType;
     this.GroupIdentifier          = groupIdentifier;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedConnection" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="source">The source of the connection..</param>
 /// <param name="destination">The destination of the connection..</param>
 /// <param name="labelIndex">The index of the bend point where to place the connection label..</param>
 /// <param name="zIndex">The z index of the connection..</param>
 /// <param name="selectedRelationships">The selected relationship that comprise the connection..</param>
 /// <param name="backPressureObjectThreshold">The object count threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won&#39;t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue..</param>
 /// <param name="backPressureDataSizeThreshold">The object data size threshold for determining when back pressure is applied. Updating this value is a passive change in the sense that it won&#39;t impact whether existing files over the limit are affected but it does help feeder processors to stop pushing too much into this work queue..</param>
 /// <param name="flowFileExpiration">The amount of time a flow file may be in the flow before it will be automatically aged out of the flow. Once a flow file reaches this age it will be terminated from the flow the next time a processor attempts to start work on it..</param>
 /// <param name="prioritizers">The comparators used to prioritize the queue..</param>
 /// <param name="bends">The bend points on the connection..</param>
 /// <param name="loadBalanceStrategy">The Strategy to use for load balancing data across the cluster, or null, if no Load Balance Strategy has been specified..</param>
 /// <param name="partitioningAttribute">The attribute to use for partitioning data as it is load balanced across the cluster. If the Load Balance Strategy is configured to use PARTITION_BY_ATTRIBUTE, the value returned by this method is the name of the FlowFile Attribute that will be used to determine which node in the cluster should receive a given FlowFile. If the Load Balance Strategy is unset or is set to any other value, the Partitioning Attribute has no effect..</param>
 /// <param name="loadBalanceCompression">Whether or not compression should be used when transferring FlowFiles between nodes.</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedConnection(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), ConnectableComponent source = default(ConnectableComponent), ConnectableComponent destination = default(ConnectableComponent), int?labelIndex = default(int?), long?zIndex = default(long?), List <string> selectedRelationships = default(List <string>), long?backPressureObjectThreshold = default(long?), string backPressureDataSizeThreshold = default(string), string flowFileExpiration = default(string), List <string> prioritizers = default(List <string>), List <Position> bends = default(List <Position>), LoadBalanceStrategyEnum?loadBalanceStrategy = default(LoadBalanceStrategyEnum?), string partitioningAttribute = default(string), LoadBalanceCompressionEnum?loadBalanceCompression = default(LoadBalanceCompressionEnum?), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier                    = identifier;
     this.Name                          = name;
     this.Comments                      = comments;
     this.Position                      = position;
     this.Source                        = source;
     this.Destination                   = destination;
     this.LabelIndex                    = labelIndex;
     this.ZIndex                        = zIndex;
     this.SelectedRelationships         = selectedRelationships;
     this.BackPressureObjectThreshold   = backPressureObjectThreshold;
     this.BackPressureDataSizeThreshold = backPressureDataSizeThreshold;
     this.FlowFileExpiration            = flowFileExpiration;
     this.Prioritizers                  = prioritizers;
     this.Bends                         = bends;
     this.LoadBalanceStrategy           = loadBalanceStrategy;
     this.PartitioningAttribute         = partitioningAttribute;
     this.LoadBalanceCompression        = loadBalanceCompression;
     this.ComponentType                 = componentType;
     this.GroupIdentifier               = groupIdentifier;
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VersionedProcessor" /> class.
 /// </summary>
 /// <param name="identifier">The component&#39;s unique identifier.</param>
 /// <param name="name">The component&#39;s name.</param>
 /// <param name="comments">The user-supplied comments for the component.</param>
 /// <param name="position">The component&#39;s position on the graph.</param>
 /// <param name="bundle">Information about the bundle from which the component came.</param>
 /// <param name="style">Stylistic data for rendering in a UI.</param>
 /// <param name="type">The type of Processor.</param>
 /// <param name="properties">The properties for the processor. Properties whose value is not set will only contain the property name..</param>
 /// <param name="propertyDescriptors">The property descriptors for the processor..</param>
 /// <param name="annotationData">The annotation data for the processor used to relay configuration between a custom UI and the procesosr..</param>
 /// <param name="schedulingPeriod">The frequency with which to schedule the processor. The format of the value will depend on th value of schedulingStrategy..</param>
 /// <param name="schedulingStrategy">Indcates whether the prcessor should be scheduled to run in event or timer driven mode..</param>
 /// <param name="executionNode">Indicates the node where the process will execute..</param>
 /// <param name="penaltyDuration">The amout of time that is used when the process penalizes a flowfile..</param>
 /// <param name="yieldDuration">The amount of time that must elapse before this processor is scheduled again after yielding..</param>
 /// <param name="bulletinLevel">The level at which the processor will report bulletins..</param>
 /// <param name="runDurationMillis">The run duration for the processor in milliseconds..</param>
 /// <param name="concurrentlySchedulableTaskCount">The number of tasks that should be concurrently schedule for the processor. If the processor doesn&#39;t allow parallol processing then any positive input will be ignored..</param>
 /// <param name="autoTerminatedRelationships">The names of all relationships that cause a flow file to be terminated if the relationship is not connected elsewhere. This property differs from the &#39;isAutoTerminate&#39; property of the RelationshipDTO in that the RelationshipDTO is meant to depict the current configuration, whereas this property can be set in a DTO when updating a Processor in order to change which Relationships should be auto-terminated..</param>
 /// <param name="componentType">componentType.</param>
 /// <param name="groupIdentifier">The ID of the Process Group that this component belongs to.</param>
 public VersionedProcessor(string identifier = default(string), string name = default(string), string comments = default(string), Position position = default(Position), Bundle bundle = default(Bundle), Dictionary <string, string> style = default(Dictionary <string, string>), string type = default(string), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, VersionedPropertyDescriptor> propertyDescriptors = default(Dictionary <string, VersionedPropertyDescriptor>), string annotationData = default(string), string schedulingPeriod = default(string), string schedulingStrategy = default(string), string executionNode = default(string), string penaltyDuration = default(string), string yieldDuration = default(string), string bulletinLevel = default(string), long?runDurationMillis = default(long?), int?concurrentlySchedulableTaskCount = default(int?), List <string> autoTerminatedRelationships = default(List <string>), ComponentTypeEnum?componentType = default(ComponentTypeEnum?), string groupIdentifier = default(string))
 {
     this.Identifier          = identifier;
     this.Name                = name;
     this.Comments            = comments;
     this.Position            = position;
     this.Bundle              = bundle;
     this.Style               = style;
     this.Type                = type;
     this.Properties          = properties;
     this.PropertyDescriptors = propertyDescriptors;
     this.AnnotationData      = annotationData;
     this.SchedulingPeriod    = schedulingPeriod;
     this.SchedulingStrategy  = schedulingStrategy;
     this.ExecutionNode       = executionNode;
     this.PenaltyDuration     = penaltyDuration;
     this.YieldDuration       = yieldDuration;
     this.BulletinLevel       = bulletinLevel;
     this.RunDurationMillis   = runDurationMillis;
     this.ConcurrentlySchedulableTaskCount = concurrentlySchedulableTaskCount;
     this.AutoTerminatedRelationships      = autoTerminatedRelationships;
     this.ComponentType   = componentType;
     this.GroupIdentifier = groupIdentifier;
 }