/// <summary>
 /// Initializes a new instance of the <see cref="DocumentedTypeDTO" /> class.
 /// </summary>
 /// <param name="type">The fully qualified name of the type..</param>
 /// <param name="bundle">The details of the artifact that bundled this type..</param>
 /// <param name="controllerServiceApis">If this type represents a ControllerService, this lists the APIs it implements..</param>
 /// <param name="description">The description of the type..</param>
 /// <param name="restricted">Whether this type is restricted..</param>
 /// <param name="usageRestriction">The optional description of why the usage of this component is restricted..</param>
 /// <param name="explicitRestrictions">An optional collection of explicit restrictions. If specified, these explicit restrictions will be enfored..</param>
 /// <param name="deprecationReason">The description of why the usage of this component is restricted..</param>
 /// <param name="tags">The tags associated with this type..</param>
 public DocumentedTypeDTO(string type = default(string), BundleDTO bundle = default(BundleDTO), List <ControllerServiceApiDTO> controllerServiceApis = default(List <ControllerServiceApiDTO>), string description = default(string), bool?restricted = default(bool?), string usageRestriction = default(string), List <ExplicitRestrictionDTO> explicitRestrictions = default(List <ExplicitRestrictionDTO>), string deprecationReason = default(string), List <string> tags = default(List <string>))
 {
     this.Type   = type;
     this.Bundle = bundle;
     this.ControllerServiceApis = controllerServiceApis;
     this.Description           = description;
     this.Restricted            = restricted;
     this.UsageRestriction      = usageRestriction;
     this.ExplicitRestrictions  = explicitRestrictions;
     this.DeprecationReason     = deprecationReason;
     this.Tags = tags;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportingTaskDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the reporting task..</param>
 /// <param name="type">The fully qualified type of the reporting task..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="state">The state of the reporting task..</param>
 /// <param name="comments">The comments of the reporting task..</param>
 /// <param name="persistsState">Whether the reporting task persists state..</param>
 /// <param name="restricted">Whether the reporting task requires elevated privileges..</param>
 /// <param name="deprecated">Whether the reporting task has been deprecated..</param>
 /// <param name="multipleVersionsAvailable">Whether the reporting task has multiple versions available..</param>
 /// <param name="schedulingPeriod">The frequency with which to schedule the reporting task. The format of the value willd epend on the valud of the schedulingStrategy..</param>
 /// <param name="schedulingStrategy">The scheduling strategy that determines how the schedulingPeriod value should be interpreted..</param>
 /// <param name="defaultSchedulingPeriod">The default scheduling period for the different scheduling strategies..</param>
 /// <param name="properties">The properties of the reporting task..</param>
 /// <param name="descriptors">The descriptors for the reporting tasks properties..</param>
 /// <param name="customUiUrl">The URL for the custom configuration UI for the reporting task..</param>
 /// <param name="annotationData">The annotation data for the repoting task. This is how the custom UI relays configuration to the reporting task..</param>
 /// <param name="validationErrors">Gets the validation errors from the reporting task. These validation errors represent the problems with the reporting task that must be resolved before it can be scheduled to run..</param>
 /// <param name="activeThreadCount">The number of active threads for the reporting task..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ReportingTaskDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), StateEnum?state = default(StateEnum?), string comments = default(string), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?multipleVersionsAvailable = default(bool?), string schedulingPeriod = default(string), string schedulingStrategy = default(string), Dictionary <string, string> defaultSchedulingPeriod = default(Dictionary <string, string>), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, PropertyDescriptorDTO> descriptors = default(Dictionary <string, PropertyDescriptorDTO>), string customUiUrl = default(string), string annotationData = default(string), List <string> validationErrors = default(List <string>), int?activeThreadCount = default(int?), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name                      = name;
     this.Type                      = type;
     this.Bundle                    = bundle;
     this.State                     = state;
     this.Comments                  = comments;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.SchedulingPeriod          = schedulingPeriod;
     this.SchedulingStrategy        = schedulingStrategy;
     this.DefaultSchedulingPeriod   = defaultSchedulingPeriod;
     this.Properties                = properties;
     this.Descriptors               = descriptors;
     this.CustomUiUrl               = customUiUrl;
     this.AnnotationData            = annotationData;
     this.ValidationErrors          = validationErrors;
     this.ActiveThreadCount         = activeThreadCount;
     this.ExtensionMissing          = extensionMissing;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessorDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the processor..</param>
 /// <param name="type">The type of the processor..</param>
 /// <param name="bundle">The details of the artifact that bundled this processor type..</param>
 /// <param name="state">The state of the processor.</param>
 /// <param name="style">Styles for the processor (background-color : #eee)..</param>
 /// <param name="description">The description of the processor..</param>
 /// <param name="supportsParallelProcessing">Whether the processor supports parallel processing..</param>
 /// <param name="supportsEventDriven">Whether the processor supports event driven scheduling..</param>
 /// <param name="supportsBatching">Whether the processor supports batching. This makes the run duration settings available..</param>
 /// <param name="persistsState">Whether the processor persists state..</param>
 /// <param name="restricted">Whether the processor requires elevated privileges..</param>
 /// <param name="deprecated">Whether the processor has been deprecated..</param>
 /// <param name="executionNodeRestricted">Indicates if the execution node of a processor is restricted to run only on the primary node.</param>
 /// <param name="multipleVersionsAvailable">Whether the processor has multiple versions available..</param>
 /// <param name="inputRequirement">The input requirement for this processor..</param>
 /// <param name="config">The configuration details for the processor. These details will be included in a response if the verbose flag is included in a request..</param>
 /// <param name="validationErrors">The validation errors for the processor. These validation errors represent the problems with the processor that must be resolved before it can be started..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ProcessorDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), StateEnum?state = default(StateEnum?), Dictionary <string, string> style = default(Dictionary <string, string>), string description = default(string), bool?supportsParallelProcessing = default(bool?), bool?supportsEventDriven = default(bool?), bool?supportsBatching = default(bool?), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?executionNodeRestricted = default(bool?), bool?multipleVersionsAvailable = default(bool?), string inputRequirement = default(string), ProcessorConfigDTO config = default(ProcessorConfigDTO), List <string> validationErrors = default(List <string>), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name        = name;
     this.Type        = type;
     this.Bundle      = bundle;
     this.State       = state;
     this.Style       = style;
     this.Description = description;
     this.SupportsParallelProcessing = supportsParallelProcessing;
     this.SupportsEventDriven        = supportsEventDriven;
     this.SupportsBatching           = supportsBatching;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.ExecutionNodeRestricted   = executionNodeRestricted;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.InputRequirement          = inputRequirement;
     this.Config           = config;
     this.ValidationErrors = validationErrors;
     this.ExtensionMissing = extensionMissing;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerServiceApiDTO" /> class.
 /// </summary>
 /// <param name="type">The fully qualified name of the service interface..</param>
 /// <param name="bundle">The details of the artifact that bundled this service interface..</param>
 public ControllerServiceApiDTO(string type = default(string), BundleDTO bundle = default(BundleDTO))
 {
     this.Type   = type;
     this.Bundle = bundle;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PropertyDescriptorDTO" /> class.
 /// </summary>
 /// <param name="name">The name for the property..</param>
 /// <param name="displayName">The human readable name for the property..</param>
 /// <param name="description">The description for the property. Used to relay additional details to a user or provide a mechanism of documenting intent..</param>
 /// <param name="defaultValue">The default value for the property..</param>
 /// <param name="allowableValues">Allowable values for the property. If empty then the allowed values are not constrained..</param>
 /// <param name="required">Whether the property is required..</param>
 /// <param name="sensitive">Whether the property is sensitive and protected whenever stored or represented..</param>
 /// <param name="dynamic">Whether the property is dynamic (user-defined)..</param>
 /// <param name="supportsEl">Whether the property supports expression language..</param>
 /// <param name="expressionLanguageScope">Scope of the Expression Language evaluation for the property..</param>
 /// <param name="identifiesControllerService">If the property identifies a controller service this returns the fully qualified type..</param>
 /// <param name="identifiesControllerServiceBundle">If the property identifies a controller service this returns the bundle of the type, null otherwise..</param>
 public PropertyDescriptorDTO(string name = default(string), string displayName = default(string), string description = default(string), string defaultValue = default(string), List <AllowableValueEntity> allowableValues = default(List <AllowableValueEntity>), bool?required = default(bool?), bool?sensitive = default(bool?), bool?dynamic = default(bool?), bool?supportsEl = default(bool?), string expressionLanguageScope = default(string), string identifiesControllerService = default(string), BundleDTO identifiesControllerServiceBundle = default(BundleDTO))
 {
     this.Name                              = name;
     this.DisplayName                       = displayName;
     this.Description                       = description;
     this.DefaultValue                      = defaultValue;
     this.AllowableValues                   = allowableValues;
     this.Required                          = required;
     this.Sensitive                         = sensitive;
     this.Dynamic                           = dynamic;
     this.SupportsEl                        = supportsEl;
     this.ExpressionLanguageScope           = expressionLanguageScope;
     this.IdentifiesControllerService       = identifiesControllerService;
     this.IdentifiesControllerServiceBundle = identifiesControllerServiceBundle;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ControllerServiceDTO" /> class.
 /// </summary>
 /// <param name="id">The id of the component..</param>
 /// <param name="versionedComponentId">The ID of the corresponding component that is under version control.</param>
 /// <param name="parentGroupId">The id of parent process group of this component if applicable..</param>
 /// <param name="position">The position of this component in the UI if applicable..</param>
 /// <param name="name">The name of the controller service..</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="comments">The comments for the controller service..</param>
 /// <param name="state">The state of the controller service..</param>
 /// <param name="persistsState">Whether the controller service persists state..</param>
 /// <param name="restricted">Whether the controller service requires elevated privileges..</param>
 /// <param name="deprecated">Whether the ontroller service has been deprecated..</param>
 /// <param name="multipleVersionsAvailable">Whether the controller service has multiple versions available..</param>
 /// <param name="properties">The properties of the controller service..</param>
 /// <param name="descriptors">The descriptors for the controller service properties..</param>
 /// <param name="customUiUrl">The URL for the controller services custom configuration UI if applicable..</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="referencingComponents">All components referencing this controller service..</param>
 /// <param name="validationErrors">The validation errors from the controller service. These validation errors represent the problems with the controller service that must be resolved before it can be enabled..</param>
 /// <param name="extensionMissing">Whether the underlying extension is missing..</param>
 public ControllerServiceDTO(string id = default(string), string versionedComponentId = default(string), string parentGroupId = default(string), PositionDTO position = default(PositionDTO), string name = default(string), string type = default(string), BundleDTO bundle = default(BundleDTO), List <ControllerServiceApiDTO> controllerServiceApis = default(List <ControllerServiceApiDTO>), string comments = default(string), StateEnum?state = default(StateEnum?), bool?persistsState = default(bool?), bool?restricted = default(bool?), bool?deprecated = default(bool?), bool?multipleVersionsAvailable = default(bool?), Dictionary <string, string> properties = default(Dictionary <string, string>), Dictionary <string, PropertyDescriptorDTO> descriptors = default(Dictionary <string, PropertyDescriptorDTO>), string customUiUrl = default(string), string annotationData = default(string), List <ControllerServiceReferencingComponentEntity> referencingComponents = default(List <ControllerServiceReferencingComponentEntity>), List <string> validationErrors = default(List <string>), bool?extensionMissing = default(bool?))
 {
     this.Id = id;
     this.VersionedComponentId = versionedComponentId;
     this.ParentGroupId        = parentGroupId;
     this.Position             = position;
     this.Name   = name;
     this.Type   = type;
     this.Bundle = bundle;
     this.ControllerServiceApis = controllerServiceApis;
     this.Comments                  = comments;
     this.State                     = state;
     this.PersistsState             = persistsState;
     this.Restricted                = restricted;
     this.Deprecated                = deprecated;
     this.MultipleVersionsAvailable = multipleVersionsAvailable;
     this.Properties                = properties;
     this.Descriptors               = descriptors;
     this.CustomUiUrl               = customUiUrl;
     this.AnnotationData            = annotationData;
     this.ReferencingComponents     = referencingComponents;
     this.ValidationErrors          = validationErrors;
     this.ExtensionMissing          = extensionMissing;
 }