public interface TimeConstraintBE extends TimeConstraint
TimeConstraint interface, complemented with
backend-related functionality for resolving the constraint limitations.
These objects are created by the
TimeConstraintProvider.resolve(TimeConstraint, com.prosyst.mprm.backend.rules.spi.time.SystemContext)
method.| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getNextActivation(java.util.Date after)
Returns the next activation time after a given point in time.
|
java.util.Date |
getNextDeactivation(java.util.Date after)
Returns the next deactivation time after a given point in time.
|
boolean |
isActiveAt(java.util.Date date)
Tests whether time Task activation is allowed at given time.
|
getTextRepresentation, getTypereadObject, writeObjectboolean isActiveAt(java.util.Date date)
date - time.true if Task activation is allowed at the supplied time, false otherwise.java.util.Date getNextDeactivation(java.util.Date after)
after - point in time after which deactivation time is requested.java.util.Date getNextActivation(java.util.Date after)
after - point in time after which activation time is requested.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.