org.yawlfoundation.yawl.scheduling
Class Scheduler

java.lang.Object
  extended by org.yawlfoundation.yawl.scheduling.Scheduler
All Implemented Interfaces:
Constants

public class Scheduler
extends Object
implements Constants

(re)schedules RUPs automatically

Version:
$Id$
Author:
tbe

Field Summary
 
Fields inherited from interface org.yawlfoundation.yawl.scheduling.Constants
ADDRESS_TYPE_EMAIL, ADDRESS_TYPE_IP, ADDRESS_TYPE_SMS, CSS_BOOLEANINPUT, CSS_DATEINPUT, CSS_DURATIONINPUT, CSS_ERRORINPUT, CSS_ERRORTEXT, CSS_INTINPUT, CSS_REQUIRED, CSS_TEXTINPUT, CSS_WARNINGINPUT, CSS_WARNINGTEXT, CSV_DELIMITER, DELIMITER, LANGUAGE_ATTRIBUTE_NAME, LANGUAGE_DEFAULT, LANGUAGES, MSGREL_AFTER, MSGREL_BEFORE, RESOURCE_STATUS_AVAILABLE, RESOURCE_STATUS_NOTAVAILABLE, RESOURCE_STATUS_REQUESTED, RESOURCE_STATUS_RESERVED, RESOURCE_STATUS_UNCHECKED, RESOURCE_STATUS_UNKNOWN, UTILISATION_TYPE_BEGIN, UTILISATION_TYPE_END, UTILISATION_TYPE_PLAN, WORD_SEPARATORS, XML_ACTIVITY, XML_ACTIVITYNAME, XML_ACTIVITYTYPE, XML_ADDRESS, XML_ADDRESSTYPE, XML_CAPABILITY, XML_CASEID, XML_CATEGORY, XML_CHANNEL, XML_DUMMY, XML_DURATION, XML_ENDTASKID, XML_ERROR, XML_EVENT_RECEIVE, XML_FILTERMODEL, XML_FROM, XML_ID, XML_MAX, XML_MESSAGE_SEND, XML_MESSAGEPUSH_SEND, XML_MESSAGES, XML_MIN, XML_MSGBODY, XML_MSGDURATION, XML_MSGREL, XML_MSGTO, XML_MSGTRANSFER, XML_MSGUTILISATIONTYPE, XML_OTHERACTIVITYNAME, XML_OTHERUTILISATIONTYPE, XML_PAYLOAD, XML_REQUESTTYPE, XML_RESCHEDULING, XML_RESERVATION, XML_RESERVATIONID, XML_RESOURCE, XML_RESOURCE_TYPE, XML_ROLE, XML_RUP, XML_RUP_LIGHT, XML_STARTTASKID, XML_STATUS, XML_STATUSTOBE, XML_SUBCATEGORY, XML_TEXT, XML_THISUTILISATIONTYPE, XML_TIMESTAMP, XML_TO, XML_UNIT, XML_UTILISATION, XML_UTILISATION_TYPE, XML_UTILISATIONREL, XML_UTILISATIONTYPE, XML_WARNING, XML_WORKLOAD, XSDDatatypes_Boolean, XSDDatatypes_DateTime, XSDDatatypes_Double, XSDDatatypes_Duration, XSDDatatypes_Int, XSDDatatypes_Long, XSDDatatypes_String
 
Constructor Summary
Scheduler()
           
 
Method Summary
 boolean findTimeSlot(org.jdom.Document rup, boolean withValidation)
          find time slot for rup
 boolean setTimes(org.jdom.Document rup, org.jdom.Element activity, boolean withValidation, boolean rescheduleCollidingRUPs, Duration defaultDuration)
          set times of activities if FROM and DURATION are given Rescheduling kollidierender RUPs, welche definiert sind als: alle RUPs welche die selben Ressourcen zur gleichen Zeit definieren wie der vorhergehend RUP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scheduler

public Scheduler()
Method Detail

setTimes

public boolean setTimes(org.jdom.Document rup,
                        org.jdom.Element activity,
                        boolean withValidation,
                        boolean rescheduleCollidingRUPs,
                        Duration defaultDuration)
set times of activities if FROM and DURATION are given Rescheduling kollidierender RUPs, welche definiert sind als: alle RUPs welche die selben Ressourcen zur gleichen Zeit definieren wie der vorhergehend RUP. als selbe Ressourcen werden nur nicht austauschbare Ressourcen betrachtet, das sind Ressourcen mit Reservierung by Id (TODO@tbe: Reservierungen by Role oder Category k�nnten auch kollidieren, hier aber erstmal weglassen) TODO@tbe: Rescheduling von RUPs die Leerlaufzeiten haben, z.B. durch fr�heres ende einer Aktivit�t, erstmal nicht betrachten

Parameters:
rup -
activity -
withValidation -
rescheduleCollidingRUPs -

findTimeSlot

public boolean findTimeSlot(org.jdom.Document rup,
                            boolean withValidation)
find time slot for rup

Parameters:
rup -


Copyright © 2004-2012 The YAWL Foundation.