Domain class for Lifecycles Use a lifecycleStore to access Lifecycles.
Example
define([
"blueconic/api/data/domain/Lifecycle"
], function(Lifecycle) {
var lifecycle = new Lifecycle();
// ...
});
Extends
Properties
-
inherited id String
-
Unique id of the domain object. Should not be
null
or empty. -
inherited isPersistent Boolean
-
Is this instance already persisted? If not, this object only 'lives' client-side.
-
inherited name String
-
The readable name of the domain object. Should not be
null
or empty. -
inherited parameters blueconic.api.data.domain.Parameters
-
Object containing the parameters of this pluggable domain object.
-
Reference to the plugin definition of this pluggable domain object.
-
readonly INVALID_REASON String
-
All possible invalid states of a lifecycle
Properties:
Name Description INVALID_TOUCHPOINT INVALID_STAGE STAGE_NAME_REQUIRED
Events
-
onCriteriaChange(stage)
-
When the criteria from either the lifecycle or one of stages changes.
Name Type Description stage blueconic/api/data/domain/Stage the stage that published the event. Optional in case of base lifecycle criteria.
-
onExitCriteriaChange()
-
When the exit criteria of the lifecycle changes.