@Override public ProjectStage getProjectStage() { return delegate().getProjectStage(); }
if (context.getApplication().getProjectStage() == ProjectStage.Development) { rootCause.printStackTrace();
ResponseWriter writer = context.getResponseWriter(); PrimeApplicationContext applicationContext = PrimeApplicationContext.getCurrentInstance(context); ProjectStage projectStage = context.getApplication().getProjectStage(); boolean csvEnabled = applicationContext.getConfig().isClientSideValidationEnabled();
@Override public ProjectStage getProjectStage() { return application.getProjectStage(); }
/** * @see Faces#getProjectStage() */ public static ProjectStage getProjectStage(FacesContext context) { return context.getApplication().getProjectStage(); }
/** * @see Faces#getProjectStage() */ public static ProjectStage getProjectStage(FacesContext context) { return context.getApplication().getProjectStage(); }
@Named @Produces public ProjectStage getProjectStage(final FacesContext context) { return context.getApplication().getProjectStage(); } }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getProjectStage} on the * wrapped {@link Application} object.</p> */ @Override public ProjectStage getProjectStage() { return getWrapped().getProjectStage(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getProjectStage} on the * wrapped {@link Application} object.</p> */ @Override public ProjectStage getProjectStage() { return getWrapped().getProjectStage(); }
public boolean isProjectStage(ProjectStage stage) { if (stage == null) { throw new NullPointerException(); } if (stage.equals(getApplication().getProjectStage())) { return true; } return false; }
@Override public ProjectStage getProjectStage() { return getWrapped().getProjectStage(); }
/** * <p class="changed_added_2_0"> * The default behavior of this method is to call {@link Application#getProjectStage} on the * wrapped {@link Application} object. * </p> */ @Override public ProjectStage getProjectStage() { return getWrapped().getProjectStage(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getProjectStage} on the * wrapped {@link Application} object.</p> */ @Override public ProjectStage getProjectStage() { return getWrapped().getProjectStage(); }
@Override public ProjectStage getProjectStage() { if (this.projectStage == null) { return getWrapped().getProjectStage(); } return this.projectStage; }
@Override public ProjectStage getProjectStage() { if (this.projectStage == null) { return getWrapped().getProjectStage(); } return this.projectStage; }
@Override public boolean isProjectStage(ProjectStage stage) { if (stage == null) { throw new NullPointerException(); } return stage.equals(getApplication().getProjectStage()); }
@Override public boolean isProjectStage(ProjectStage stage) { if (stage == null) { throw new NullPointerException(); } return stage.equals(getApplication().getProjectStage()); }
@Override public boolean isProjectStage(ProjectStage stage) { if (stage == null) { throw new NullPointerException(); } return stage.equals(getApplication().getProjectStage()); }
private boolean isNeedAppBanner(FacesContext facesContext, DeviceResource comp, ClientDescriptor client) { ProjectStage projectStage = facesContext.getApplication().getProjectStage(); if (ProjectStage.Development == projectStage) { return false; } return (comp.isIncludeIOSSmartAppBanner() && !client.isSXRegistered()); }
public Boolean isDevelopmentMode(ServletContext servletContext) { try { return !ProjectStage.Production.equals(FacesFactory.getApplication().getProjectStage()); } catch (Exception e) { log.warn("Could not determine project stage due to underlying exception.", e); return false; } }