/**
  * Return if it is in author mode.
  *
  * @return if it is in author mode.
  */
 private boolean isAuthorMode() {
   return settingsService != null && settingsService.getRunModes().contains("author");
 }
示例#2
0
 private boolean isPublish() {
   return slingSettings.getRunModes().contains("publish");
 }