@Test void testIsAuthor() { Set<String> runModes = ImmutableSet.of("mode1", "author"); assertTrue(RunMode.isAuthor(runModes)); }
@Deprecated public static boolean isAuthor(Set<String> runModes) { return RunMode.is(runModes, AUTHOR); }
RunMode { @Deprecated public static boolean isAuthor(Set<String> runModes) { return RunMode.is(runModes, AUTHOR); } }
RunMode { @Deprecated public static boolean isAuthor(Set<String> runModes) { return RunMode.is(runModes, AUTHOR); } private  RunMode(); }
RunMode { @Deprecated public static boolean isAuthor(Set<String> runModes) { return RunMode.is(runModes, AUTHOR); } private  RunMode(); @Deprecated static boolean is(Set<String> runModes, String... expectedRunModes); @Deprecated static boolean isAuthor(Set<String> runModes); @Deprecated static boolean isPublish(Set<String> runModes); @Deprecated static boolean disableIfNoRunModeActive(Set<String> runModes, String[] allowedRunModes,
      ComponentContext componentContext, Logger log); @Deprecated static boolean disableIfNotAuthor(Set<String> runModes, ComponentContext componentContext, Logger log); @Deprecated static boolean disableIfNotPublish(Set<String> runModes, ComponentContext componentContext, Logger log); }
RunMode { @Deprecated public static boolean isAuthor(Set<String> runModes) { return RunMode.is(runModes, AUTHOR); } private  RunMode(); @Deprecated static boolean is(Set<String> runModes, String... expectedRunModes); @Deprecated static boolean isAuthor(Set<String> runModes); @Deprecated static boolean isPublish(Set<String> runModes); @Deprecated static boolean disableIfNoRunModeActive(Set<String> runModes, String[] allowedRunModes,
      ComponentContext componentContext, Logger log); @Deprecated static boolean disableIfNotAuthor(Set<String> runModes, ComponentContext componentContext, Logger log); @Deprecated static boolean disableIfNotPublish(Set<String> runModes, ComponentContext componentContext, Logger log); static final String AUTHOR; static final String PUBLISH; }