mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
New: Backend changes for new UI
This commit is contained in:
@@ -4,15 +4,30 @@ namespace NzbDrone.Core.Messaging.Commands
|
||||
{
|
||||
public abstract class Command
|
||||
{
|
||||
public virtual bool SendUpdatesToClient => false;
|
||||
private bool _sendUpdatesToClient;
|
||||
|
||||
public virtual bool SendUpdatesToClient
|
||||
{
|
||||
get
|
||||
{
|
||||
return _sendUpdatesToClient;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_sendUpdatesToClient = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual bool UpdateScheduledTask => true;
|
||||
|
||||
public virtual string CompletionMessage => "Completed";
|
||||
public virtual bool RequiresDiskAccess => false;
|
||||
public virtual bool IsExclusive => false;
|
||||
|
||||
public string Name { get; private set; }
|
||||
public DateTime? LastExecutionTime { get; set; }
|
||||
public CommandTrigger Trigger { get; set; }
|
||||
public bool SuppressMessages { get; set; }
|
||||
|
||||
public Command()
|
||||
{
|
||||
|
Reference in New Issue
Block a user