-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: use file-scope namespace and primary constructor
- Loading branch information
Showing
27 changed files
with
331 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
namespace Zeebe.Client.Api.Responses | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response on a cancel process instance command. | ||
/// </summary> | ||
public interface ICancelProcessInstanceResponse | ||
{ | ||
/// <summary> | ||
/// Response on a cancel process instance command. | ||
/// </summary> | ||
public interface ICancelProcessInstanceResponse | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// | ||
// | ||
// Copyright (c) 2021 camunda services GmbH ([email protected]) | ||
// | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
|
@@ -19,24 +19,24 @@ public interface IDecisionRequirementsMetadata | |
{ | ||
/// <returns> | ||
/// the dmn decision requirements ID, as parsed during deployment; together with the | ||
/// versions forms a unique identifier for a specific decision | ||
/// versions forms a unique identifier for a specific decision. | ||
/// </returns> | ||
string DmnDecisionRequirementsId { get; } | ||
|
||
/// <returns>the dmn name of the decision requirements, as parsed during deployment</returns> | ||
/// <returns>the dmn name of the decision requirements, as parsed during deployment.</returns> | ||
string DmnDecisionRequirementsName { get; } | ||
|
||
/// <returns>the assigned decision requirements version</returns> | ||
/// <returns>the assigned decision requirements version.</returns> | ||
int Version { get; } | ||
|
||
/// <returns> | ||
/// the assigned decision requirements key, which acts as a unique identifier for this | ||
/// decision requirements | ||
/// decision requirements. | ||
/// </returns> | ||
long DecisionRequirementsKey { get; } | ||
|
||
/// <returns> | ||
/// the resource name (i.e. filename) from which this decision requirements was parsed | ||
/// the resource name (i.e. filename) from which this decision requirements was parsed. | ||
/// </returns> | ||
string ResourceName { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Zeebe.Client.Api.Responses | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
public interface IDeployResourceResponse | ||
{ | ||
public interface IDeployResourceResponse | ||
{ | ||
/// <returns>the unique key of the deployment </returns> | ||
long Key { get; } | ||
/// <returns>the unique key of the deployment.</returns> | ||
long Key { get; } | ||
|
||
/// <returns>the processes meta data, which are deployed </returns> | ||
IList<IProcessMetadata> Processes { get; } | ||
/// <returns>the processes meta data, which are deployed.</returns> | ||
IList<IProcessMetadata> Processes { get; } | ||
|
||
/// <returns>the decisions which are deployed</returns> | ||
IList<IDecisionMetadata> Decisions { get; } | ||
/// <returns>the decisions which are deployed.</returns> | ||
IList<IDecisionMetadata> Decisions { get; } | ||
|
||
/// <returns>the decision requirements which are deployed </returns> | ||
IList<IDecisionRequirementsMetadata> DecisionRequirements { get; } | ||
/// <returns>the decision requirements which are deployed.</returns> | ||
IList<IDecisionRequirementsMetadata> DecisionRequirements { get; } | ||
|
||
/// <returns>the forms which are deployed</returns> | ||
IList<IFormMetadata> Forms { get; } | ||
} | ||
} | ||
/// <returns>the forms which are deployed.</returns> | ||
IList<IFormMetadata> Forms { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,61 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Zeebe.Client.Api.Responses | ||
namespace Zeebe.Client.Api.Responses; | ||
|
||
/// <summary> | ||
/// Response for evaluating a decision on the broker. | ||
/// </summary> | ||
public interface IEvaluateDecisionResponse | ||
{ | ||
/// <summary> | ||
/// Response for evaluating a decision on the broker. | ||
/// </summary> | ||
public interface IEvaluateDecisionResponse | ||
{ | ||
/// <returns> | ||
/// the decision ID, as parsed during deployment; together with the versions forms a unique | ||
/// identifier for a specific decision | ||
/// </returns> | ||
string DecisionId { get; } | ||
|
||
/// <returns> | ||
/// the assigned decision version | ||
/// </returns> | ||
int DecisionVersion { get; } | ||
|
||
/// <returns> | ||
/// the assigned decision key, which acts as a unique identifier for this decision | ||
/// </returns> | ||
long DecisionKey { get; } | ||
|
||
/// <returns> | ||
/// the name of the decision, as parsed during deployment | ||
/// </returns> | ||
string DecisionName { get; } | ||
|
||
/// <returns> | ||
/// the ID of the decision requirements graph that this decision is part of, as parsed | ||
/// during deployment | ||
/// </returns> | ||
string DecisionRequirementsId { get; } | ||
|
||
/// <returns> | ||
/// the assigned key of the decision requirements graph that this decision is part of | ||
/// </returns> | ||
long DecisionRequirementsKey { get; } | ||
|
||
/// <returns> | ||
/// the output of the evaluated decision | ||
/// </returns> | ||
string DecisionOutput { get; } | ||
|
||
/// <returns> | ||
/// a list of decisions that were evaluated within the requested decision evaluation | ||
/// </returns> | ||
IList<IEvaluatedDecision> EvaluatedDecisions { get; } | ||
|
||
/// <returns> | ||
/// a string indicating the ID of the decision which failed during evaluation | ||
/// </returns> | ||
string FailedDecisionId { get; } | ||
|
||
/// <returns> | ||
/// a message describing why the decision which was evaluated failed | ||
/// </returns> | ||
string FailureMessage { get; } | ||
} | ||
/// <returns> | ||
/// the decision ID, as parsed during deployment; together with the versions forms a unique | ||
/// identifier for a specific decision. | ||
/// </returns> | ||
string DecisionId { get; } | ||
|
||
/// <returns> | ||
/// the assigned decision version. | ||
/// </returns> | ||
int DecisionVersion { get; } | ||
|
||
/// <returns> | ||
/// the assigned decision key, which acts as a unique identifier for this decision. | ||
/// </returns> | ||
long DecisionKey { get; } | ||
|
||
/// <returns> | ||
/// the name of the decision, as parsed during deployment. | ||
/// </returns> | ||
string DecisionName { get; } | ||
|
||
/// <returns> | ||
/// the ID of the decision requirements graph that this decision is part of, as parsed | ||
/// during deployment. | ||
/// </returns> | ||
string DecisionRequirementsId { get; } | ||
|
||
/// <returns> | ||
/// the assigned key of the decision requirements graph that this decision is part of. | ||
/// </returns> | ||
long DecisionRequirementsKey { get; } | ||
|
||
/// <returns> | ||
/// the output of the evaluated decision. | ||
/// </returns> | ||
string DecisionOutput { get; } | ||
|
||
/// <returns> | ||
/// a list of decisions that were evaluated within the requested decision evaluation. | ||
/// </returns> | ||
IList<IEvaluatedDecision> EvaluatedDecisions { get; } | ||
|
||
/// <returns> | ||
/// a string indicating the ID of the decision which failed during evaluation. | ||
/// </returns> | ||
string FailedDecisionId { get; } | ||
|
||
/// <returns> | ||
/// a message describing why the decision which was evaluated failed. | ||
/// </returns> | ||
string FailureMessage { get; } | ||
} |
Oops, something went wrong.