Description
the core of codi should offer a project stage mechanism for custom project stages (application.PROJECT_STAGE)
example:
@Inject @Current private ProjectStage projectStage;
...
if(projectStage.is("MyDevStage"))
{
//...
}
if the jsf module is available as well, it should be possible to use e.g.:
@Inject private JsfProjectStage jsfProjectStage;
if(jsfProjectStage.isDevelopment())
{
//...
}
the implementation should use the project stages provided by jsf.
if application.PROJECT_STAGE is used, it should overrule the project stage of jsf.