public interface TimeConstraintProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TIME_CONSTRAINT_TYPE
Service registration property defining the time constraint type.
|
| Modifier and Type | Method and Description |
|---|---|
TimeConstraint |
parse(java.lang.String source,
SystemContext systemContext)
Invoked by the system to parse the text representation of a TimeConstraint object.
|
TimeConstraintBE |
resolve(TimeConstraint source,
SystemContext systemContext)
Invoked by the system to resolve the time constraint limitations.
|
static final java.lang.String TIME_CONSTRAINT_TYPE
TimeConstraint object: TimeConstraint.getType().TimeConstraintBE resolve(TimeConstraint source, SystemContext systemContext) throws ManagementException
source - source object with which the Task is launched on the front-end.systemContext - system-provided context information.ManagementException - if error occurs.TimeConstraint parse(java.lang.String source, SystemContext systemContext) throws ManagementException
TimeConstraint object by its text representation, i.e.,
to do the opposite of the TimeConstraint.getTextRepresentation() method.
Such parsing is needed by the system when a Rule or Task that have been previously exported as JSON text
is being imported.source - text to be parsed.systemContext - system-provided context information.ManagementException - if error occurs.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.