@Test void testIsPublish() { Set<String> runModes = ImmutableSet.of("publish"); assertTrue(RunMode.isPublish(runModes)); }
@Deprecated public static boolean isPublish(Set<String> runModes) { return RunMode.is(runModes, PUBLISH); }
RunMode { @Deprecated public static boolean isPublish(Set<String> runModes) { return RunMode.is(runModes, PUBLISH); } }
RunMode { @Deprecated public static boolean isPublish(Set<String> runModes) { return RunMode.is(runModes, PUBLISH); } private  RunMode(); }
RunMode { @Deprecated public static boolean isPublish(Set<String> runModes) { return RunMode.is(runModes, PUBLISH); } 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 isPublish(Set<String> runModes) { return RunMode.is(runModes, PUBLISH); } 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; }