using Quadarax.Foundation.Core.Data;
namespace qdr.fnd.core.pqueue
{
public interface IPsQueueItemDescriptor
{
///
/// Holds information about the owner (type of owner) of the queue item.
///
public string Owner { get; }
///
/// Holds information about the owner identifier (reference number).
///
public string OwnerRef { get; }
///
/// Priority of the queue item. Lower number means higher priority (0 - system, 2 - immediate, 5+ - custom).
///
int Priority { get; }
///
/// Date and time when the queue item will be possibly processed.
///
DateTime ValidFrom { get; }
///
/// Date and time when the queue item will be expired. If null, the queue item will never expire.
///
DateTime? ValidTo { get; }
///
/// Defines initial number of attempts left to process the queue item. When item will be reset uses this value.
///
int AtteptsInitial { get; }
///
/// Class name of the process executing provider.
///
string ProcessProviderClass { get; }
///
/// Collection of input and output attributes of current process.
///
IEnumerable Arguments { get; }
}
}