Class DeleteFilesJob
  
  Represents a job(a scheduled event) which deletes FS files
 
  
  
    Inheritance
    System.Object
    
    
    
    DeleteFilesJob
   
  
    Implements
    
    System.IDisposable
    
    
    
    
   
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
   
  
  Assembly: NFX.dll
  Syntax
  
    public class DeleteFilesJob : Event, IApplicationComponent, IDisposable, INamed, IExternallyParameterized, IConfigurable, ILocalizedTimeProvider
   
  Constructors
  
  
  
  
  DeleteFilesJob(IEventTimer, IConfigSectionNode)
  
  
  Declaration
  
    public DeleteFilesJob(IEventTimer timer, IConfigSectionNode config)
   
  Parameters
  
  
  
  
  DeleteFilesJob(IEventTimer, String, Nullable<TimeSpan>, IConfigSectionNode, FileSystem, FileSystemSessionConnectParams, String)
  
  
  Declaration
  
    public DeleteFilesJob(IEventTimer timer, string name = null, TimeSpan? interval = default (TimeSpan? ), IConfigSectionNode config = null, FileSystem fs = null, FileSystemSessionConnectParams fsConnectParams = null, string fsRootPath = null)
   
  Parameters
  
  Fields
  
  
  
  CONFIG_CONTENT_FS_SECTION
  
  
  Declaration
  
    public const string CONFIG_CONTENT_FS_SECTION = "file-system"
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  CONFIG_FS_CONNECT_PARAMS_SECTION
  
  
  Declaration
  
    public const string CONFIG_FS_CONNECT_PARAMS_SECTION = "connect-params"
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  CONFIG_FS_ROOT_PATH_ATTR
  
  
  Declaration
  
    public const string CONFIG_FS_ROOT_PATH_ATTR = "root-path"
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Properties
  
  
  
  
  BodyAsyncModel
  Due to IO-nature this job is always executted as a long-running separate task
 
  
  Declaration
  
    public override EventBodyAsyncModel BodyAsyncModel { get; set; }
   
  Property Value
  
  Overrides
  
  
  
  
  DeleteEmptyDirs
  
  
  Declaration
  
    [Config]
public bool DeleteEmptyDirs { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  FileSystem
  Returns file system that serves static content for portals
 
  
  Declaration
  
    public IFileSystem FileSystem { get; }
   
  Property Value
  
  
  
  
  FileSystemConnectParams
  
  
  Declaration
  
    public FileSystemSessionConnectParams FileSystemConnectParams { get; }
   
  Property Value
  
  
  
  
  FileSystemRootPath
  Returns root path for content file system
 
  
  Declaration
  
    public string FileSystemRootPath { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  LastModifyAgoHrs
  
  
  Declaration
  
    [Config]
public int ? LastModifyAgoHrs { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.Int32> | 
         | 
      
    
  
  
  
  
  LastModifyFrom
  
  
  Declaration
  
    [Config]
public DateTime? LastModifyFrom { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.DateTime> | 
         | 
      
    
  
  
  
  
  LastModifyTo
  
  
  Declaration
  
    [Config]
public DateTime? LastModifyTo { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.DateTime> | 
         | 
      
    
  
  
  
  
  LogStats
  
  
  Declaration
  
    [Config]
public bool LogStats { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  
  
  
  MaxSize
  
  
  Declaration
  
    [Config]
public ulong ? MaxSize { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.UInt64> | 
         | 
      
    
  
  
  
  
  MinSize
  
  
  Declaration
  
    [Config]
public ulong ? MinSize { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Nullable<System.UInt64> | 
         | 
      
    
  
  
  
  
  NameExcludePattern
  
  
  Declaration
  
    [Config]
public string NameExcludePattern { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  NameIncludePattern
  
  
  Declaration
  
    [Config]
public string NameIncludePattern { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
  
  
  Recurse
  
  
  Declaration
  
    [Config]
public bool Recurse { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
         | 
      
    
  
  Methods
  
  
  
  
  BindFS(FileSystem, FileSystemSessionConnectParams, String)
  
  
  Declaration
  
    public void BindFS(FileSystem fs, FileSystemSessionConnectParams fsConnectParams, string fsRootPath)
   
  Parameters
  
  
  
  
  
  
  
  Declaration
  
    public override void Configure(IConfigSectionNode config)
   
  Parameters
  
  Overrides
  
  
  
  
  Destructor()
  
  
  Declaration
  
    protected override void Destructor()
   
  Overrides
  
  
  
  
  DoFire()
  
  
  Declaration
  
    protected override void DoFire()
   
  Overrides
  
  
  
  
  DoHandleError(Exception)
  
  
  Declaration
  
    protected override void DoHandleError(Exception error)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Exception | 
        error | 
         | 
      
    
  
  Overrides
  
  Implements
  
  
      System.IDisposable
  
  
  
  
  
  Extension Methods