/** * Pause the given XObject job by pausing all of its current triggers. Can be called the same way as * {@link #scheduleJob(Object)} * * @param object the wrapped XObject Job to be paused * @return true on success, false on failure. */ public boolean pauseJob(Object object) { try { return pauseJob(retrieveBaseObject(object)); } catch (Exception e) { // we don't need to push the exception message in the context here // as it should already have been pushed by the throwing exception return false; } }
/** * Pause the given XObject job by pausing all of its current triggers. Can be called the same way as * {@link #scheduleJob(Object)} * * @param object the wrapped XObject Job to be paused * @return true on success, false on failure. */ public boolean pauseJob(Object object) { try { return pauseJob(retrieveBaseObject(object)); } catch (Exception e) { // we don't need to push the exception message in the context here // as it should already have been pushed by the throwing exception return false; } }