jopt.js.spi.domain.activity
Interface ActResourceDomainListener

All Known Implementing Classes:
ActivityDomain, ActOperationDomain

public interface ActResourceDomainListener

Interface that can be implemented by a class that wishes to be notified of addition and removal of intervals from an ActResourceDomain


Method Summary
 void deltaRemoved(int resourceID, ActDelta delta)
          A method called by an ActResourcedDomin any changes are made to any part of the resource
 void durationRemoved(int resourceID, jopt.csp.util.IntIntervalSet delta)
          A method called by an ActResourcedDomin any time duration times are removed
 void endTimesRemoved(int resourceID, jopt.csp.util.IntIntervalSet delta)
          A method called by an ActResourcedDomin any time end times are removed
 void startTimesRemoved(int resourceID, jopt.csp.util.IntIntervalSet delta)
          A method called by an ActResourcedDomin any time start times are removed
 

Method Detail

startTimesRemoved

public void startTimesRemoved(int resourceID,
                              jopt.csp.util.IntIntervalSet delta)
                       throws jopt.csp.variable.PropagationFailureException
A method called by an ActResourcedDomin any time start times are removed

Parameters:
resourceID - id of the resource for which the start times were removed
delta - the IntIntervalSet representing the values removed
Throws:
jopt.csp.variable.PropagationFailureException

endTimesRemoved

public void endTimesRemoved(int resourceID,
                            jopt.csp.util.IntIntervalSet delta)
                     throws jopt.csp.variable.PropagationFailureException
A method called by an ActResourcedDomin any time end times are removed

Parameters:
resourceID - id of the resource for which the start times were removed
delta - the IntIntervalSet representing the values removed
Throws:
jopt.csp.variable.PropagationFailureException

durationRemoved

public void durationRemoved(int resourceID,
                            jopt.csp.util.IntIntervalSet delta)
                     throws jopt.csp.variable.PropagationFailureException
A method called by an ActResourcedDomin any time duration times are removed

Parameters:
resourceID - id of the resource for which the start times were removed
delta - the IntIntervalSet representing the values removed
Throws:
jopt.csp.variable.PropagationFailureException

deltaRemoved

public void deltaRemoved(int resourceID,
                         ActDelta delta)
                  throws jopt.csp.variable.PropagationFailureException
A method called by an ActResourcedDomin any changes are made to any part of the resource

Parameters:
resourceID - id of the resource for which the start times were removed
delta - the ActDelta representing the values removed
Throws:
jopt.csp.variable.PropagationFailureException