@Test public void testActuallyShutdown(){ final CyShutdownEvent e = new CyShutdownEvent(source); assertTrue(e.actuallyShutdown()); e.abortShutdown("dummy reason"); assertFalse(e.actuallyShutdown()); }
public boolean actuallyShutdown() { return (reason == null || reason.length() <= 0); }
CyShutdownEvent extends AbstractCyEvent<Object> { public boolean actuallyShutdown() { return (reason == null || reason.length() <= 0); } }
CyShutdownEvent extends AbstractCyEvent<Object> { public boolean actuallyShutdown() { return (reason == null || reason.length() <= 0); } CyShutdownEvent(final Object source, boolean force);  CyShutdownEvent(final Object source); }
CyShutdownEvent extends AbstractCyEvent<Object> { public boolean actuallyShutdown() { return (reason == null || reason.length() <= 0); } CyShutdownEvent(final Object source, boolean force);  CyShutdownEvent(final Object source); void abortShutdown(final String why); String abortShutdownReason(); boolean actuallyShutdown(); boolean forceShutdown(); }
CyShutdownEvent extends AbstractCyEvent<Object> { public boolean actuallyShutdown() { return (reason == null || reason.length() <= 0); } CyShutdownEvent(final Object source, boolean force);  CyShutdownEvent(final Object source); void abortShutdown(final String why); String abortShutdownReason(); boolean actuallyShutdown(); boolean forceShutdown();  }