2using System.Threading.Tasks;
17 private readonly
Job node;
52 [Header(17,
"Report Detail:")]
53 [ToolTip(18,
"How much detail to include in job reports.")]
54 [Option(
JobReportDetail.Summary, 19,
"Return summary information only.")]
65 return this.node.CanEditAsync(Caller);
82 return Task.CompletedTask;
100 return Task.FromResult(
string.Empty);
109 return Task.FromResult(
string.Empty);
135 await this.node.RemoveErrorAsync(
"ExecutionError");
139 await this.node.LogErrorAsync(
"ExecutionError", ex.Message);
148 return Task.CompletedTask;
Static class managing the application event log. Applications and services log events on this static ...
static void Exception(Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an exception. Event type will be determined by the severity of the exception.
ExecuteJob(Job Node)
Executes a job.
Task< string > GetSuccessStringAsync(Language Language)
Gets a success string, if any, of the command. If no specific success string is available,...
JobReportDetail ReportDetail
How much detail to include in job reports.
string CommandID
ID of command.
Task StartQueryExecutionAsync(Query Query, Language Language)
Starts the execution of a query.
CommandType Type
Type of command.
ICommand Copy()
Creates a copy of the command object.
string SortCategory
Sort Category, if available.
Task< string > GetFailureStringAsync(Language Language)
Gets a failure string, if any, of the command. If no specific failure string is available,...
Task< bool > CanExecuteAsync(RequestOrigin Caller)
If the command can be executed by the caller.
Task ExecuteCommandAsync()
Executes the command.
Task< string > GetNameAsync(Language Language)
Gets the displayable name of the command.
Task< string > GetConfirmationStringAsync(Language Language)
Gets a confirmation string, if any, of the command. If no confirmation is necessary,...
string SortKey
Sort Key, if available.
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
Class handling the reception of data from a query.
Tokens available in request.
JobReportDetail
How much detail to include in job reports.