/** @shortholdsallnecessaryinformationaboutajoband handleit'sconfiguration(ifanyexist!) @descrItcanbeusedfromdifferentusecasesasacontainer (orproxy)forallconfigdataofaregisteredjob. Butitdoesn'timplementanyexecutefunctionality!
*/ class JobData final
{ public:
/** These values can be used to differe between jobs with and jobs without aconfiguration.Ofcoursean"unknownstate"shouldbeavailabletoo, todetectamissinginitialization.
*/ enum EMode
{ /// indicates a missing initialization
E_UNKNOWN_MODE, /// indicates a job with configuration (They alias represent the config key name.)
E_ALIAS, /// indicates a job without configuration (The pure UNO implementation is used only.)
E_SERVICE, /// indicates a job with configuration, which was triggered by an event
E_EVENT
};
/** These values represent the environment type, in which a job can run. Ajobmustknown,fromwhichbindingitwillbestarted.Because it'sinitializationdatadependsfromthat!
*/ enum EEnvironment
{ /// indicates a missing initialization
E_UNKNOWN_ENVIRONMENT, /// this job is used by the global JobExecutor service
E_EXECUTION, /// this job is used by the global dispatch framework
E_DISPATCH, /// this job is used by the global event broadcaster
E_DOCUMENTEVENT
};
/** Some jobs can be registered to "logical events", which are generated on demand if another document event occurs.E.g."onDocumentOpened"incase"OnNew"or"OnLoad"wasnotifiedtotheJobExecutorinstance. Andnormallytheoriginaleventistransportedasparametersettotheexecutedjob.Butthensuchjob can'tdifferbetweene.g."OnNew"and"onDocumentOpened". That'swhywemustknow,forwhichtypeofeventthejobwasreallytriggered.-)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.